From: Ralph Corderoy Date: Sun, 20 Aug 2017 11:20:45 +0000 (+0100) Subject: sbr/mf.c: Simplify logic, ditching endless for-loops and switch. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/2e23b475a4861db57ca78067d553c4360b8c8d71?ds=sidebyside;hp=2e23b475a4861db57ca78067d553c4360b8c8d71 sbr/mf.c: Simplify logic, ditching endless for-loops and switch. 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. ---