in reply to You need more coffee when...

A co-worker of mine and I stared at a chuck of code similar to the following for hours.

for (i = 0; i < limit; i++); { do_something(i); }

We could not figure out why the code after the for was only called once. We added printf statements. We ran it through debuggers (we tried several, assuming there was something wrong with them.

Finally, blurry eyed, my co-worker said, "Why do I have a ";" right after the for?" He removed it, recompiled and everything worked fine. Yet another case of EBKAC.