Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
for loop initialisation clause skipped #1605
Author Name: Andrew Holme
Original Assignee: Wilson Snyder (@wsnyder)
The body of the first for loop in this code never executes because the condition clause is always false; however it seems the initialise clause is also (incorrectly) optimised away.
Original Redmine Comment
Sorry, that's nasty and should have been caught earlier, so fixing immediately.
FWIW "for (i=1; 0; )" was tested, but not this case.
Fixed in git towards eventual 4.024 release.