I found this today while doing code review.
it was ment to be a sleep timer... I just about shit a brick when I saw this.
for(int i=0; i<PAUSE_LENGTH; i++)
{
i++;
}
A code-review WTF: a sleep loop written as for(int i=0; i<PAUSE_LENGTH; i++) { i++; }.
I found this today while doing code review.
it was ment to be a sleep timer... I just about shit a brick when I saw this.
for(int i=0; i<PAUSE_LENGTH; i++)
{
i++;
}