]> granicus.if.org Git - neomutt/commit
tidy conditionals 2
authorRichard Russon <rich@flatcap.org>
Wed, 23 Oct 2019 22:30:09 +0000 (23:30 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 27 Oct 2019 01:15:59 +0000 (01:15 +0000)
commitb133204cce5846139b9f5abf99e1ba90c007abc6
treea094fa691cb30f05ab20599bb8e69d1550130ec2
parentb75508ee477edb22b090bf22597a561ce4ad667d
tidy conditionals 2

- move true condition first
- flatten 'else' clause when 'if' clause returns/breaks
- compare int functions to zero
20 files changed:
copy.c
curs_lib.c
handler.c
hcache/serialize.c
imap/imap.c
imap/message.c
init.c
mailcap.c
maildir/shared.c
mutt_mailbox.c
mutt_thread.c
ncrypt/crypt_gpgme.c
pager.c
pop/pop.c
postpone.c
query.c
recvattach.c
recvcmd.c
send.c
sidebar.c