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 that increments its counter twice per pass.
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++;
}