scummvm/scummvm — comment on commit 538d83408091e9077f451f45c1ac1127f302b47d
File: engines/sky/logic.cpp line 1425
By fingolfin:

cc1plus: warnings being treated as errors
engines/sky/logic.cpp: In member function ‘uint16 Sky::Logic::script(uint16, uint16)’:
engines/sky/logic.cpp:1426: warning: control reaches end of non-void function
make: *** [engines/sky/logic.o] Error 1

(BTW, I think "XYZ considered harmful" statements should be considered harmful ;). Seriously, not every goto is evil. Sometimes rewriting code just to avoid them causes more pain than it helps. Just my two cents, anyway ;). See also e.g. http://david.tribble.com/text/goto.html