]> granicus.if.org Git - neomutt/commit
tidy conditionals 3
authorRichard Russon <rich@flatcap.org>
Thu, 24 Oct 2019 00:34:30 +0000 (01:34 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 27 Oct 2019 01:22:40 +0000 (01:22 +0000)
commitad42d4f0ff1886651f254ab833e06cb592be6fbe
treef0500cdcb7543d54038c26c3a318e1e993a8026b
parentb133204cce5846139b9f5abf99e1ba90c007abc6
tidy conditionals 3

- move true condition first
- flatten 'else' clause when 'if' clause returns/breaks
- compare int functions to zero
12 files changed:
complete.c
conn/sasl.c
conn/ssl.c
context.c
index.c
ncrypt/crypt_gpgme.c
send.c
test/config/account.c
test/config/enum.c
test/config/long.c
test/config/number.c
test/config/synonym.c