]> diplodocus.org Git - nmh/commit
inc.c: Narrow scope of inc_type. Chain mutually-exclusive ifs.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 13 Aug 2017 15:58:14 +0000 (16:58 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 13 Aug 2017 15:58:14 +0000 (16:58 +0100)
commit54b3847305718394e886272edd49f8dcd2bcfc29
tree0e5cb427e97efd0dafc789fbea65e5c5ce6b6d1d
parent7d81fd0ae7fc14189d7758c78a5168921c7ef11b
inc.c: Narrow scope of inc_type.  Chain mutually-exclusive ifs.

Joining the separate if-statements with `else' tells the reader it's not
expected that more than one branch can be taken.  Useful when each is
many lines long.  No functional change intended.
uip/inc.c