]> diplodocus.org Git - nmh/commitdiff
sbr/mf.c: Simplify logic, ditching endless for-loops and switch.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 20 Aug 2017 11:20:45 +0000 (12:20 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 20 Aug 2017 11:20:45 +0000 (12:20 +0100)
Some of the control flow follows the pattern of the larger sections: an
endless for-loop with a switch, and then cases that continue or break,
and another break out of the for loop.  For the simpler cases, it's much
easier to read a simple while-loop that achieves the same in fewer
lines.  No functional change intended.


No differences found