Re: [RFC] Unused variable in profile.c

2009-03-10 Thread Andrew Pinski
On Tue, Mar 10, 2009 at 12:58 PM, Edmar Wienskoski wrote: > I accidentally found that the local variable > num_never_executed > in function compute_branch_probabilities, is initialized to zero > and never gets modified after that. > > I suppose the statement in line 603: > num_branches++, num_neve

[RFC] Unused variable in profile.c

2009-03-10 Thread Edmar Wienskoski
I accidentally found that the local variable num_never_executed in function compute_branch_probabilities, is initialized to zero and never gets modified after that. I suppose the statement in line 603: num_branches++, num_never_executed; was intended to be: num_branches++, num_never_executed++; R