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++;
}
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++;
}
[...] – bookmarked by 1 members originally found by djwudi on 2008-10-02 Your daily WTF http://www.abluestar.com/blog/your-daily-wtf/ – bookmarked by 5 members originally found by [...]
Correct me if I’m wrong, but doesn’t that incriment by 2 each time?