]> granicus.if.org Git - neomutt/commit
tidy conditionals 1
authorRichard Russon <rich@flatcap.org>
Wed, 23 Oct 2019 21:52:35 +0000 (22:52 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 27 Oct 2019 01:15:59 +0000 (01:15 +0000)
commitb75508ee477edb22b090bf22597a561ce4ad667d
tree4f6dcdab177e9cd45bffe180bd5e5a3741ea03f4
parent782435b0bc1f24e98019863c956e994fea0b0940
tidy conditionals 1

- move true condition first
- flatten 'else' clause when 'if' clause returns/breaks
- compare int functions to zero
38 files changed:
color.c
compose.c
compress.c
conn/ssl.c
conn/ssl_gnutls.c
doc/makedoc.c
email/email.c
email/envelope.c
email/parse.c
email/rfc2231.c
email/url.c
handler.c
hcache/tc.c
imap/command.c
imap/imap.c
imap/message.c
index.c
keymap.c
maildir/mh.c
maildir/shared.c
mutt/hash.c
mutt/mbyte.c
mutt/path.c
mutt/string.c
mutt_account.c
mutt_thread.c
mutt_window.c
mx.c
ncrypt/crypt.c
ncrypt/crypt_gpgme.c
ncrypt/pgp.c
ncrypt/pgpkey.c
notmuch/mutt_notmuch.c
pattern.c
recvcmd.c
send.c
sendlib.c
sort.c