scummvm/scummvm — pull request #131 by digitall (2011-12-08 21:38:46+00:00)
Title: Goto Considered Harmful...

For those who are unaware of the reference:
http://www.cs.utexas.edu/users/EWD/transcriptions/EWD02xx/EWD215.html

The following commits should improve the ScummVM code structure and reduce the number of gotos used in the ScummVM codebase, starting in the engines.

They should implement identical functionality, but without using goto and without the result being less readable/maintainable than the version with goto.

These commits should be reviewed to ensure that there are no regressions due to mistake or side effects of the changes.