]> granicus.if.org Git - neomutt/commit
split up 'if' statements that assign and test (2) 825/head
authorRichard Russon <rich@flatcap.org>
Sat, 7 Oct 2017 10:24:25 +0000 (11:24 +0100)
committerRichard Russon <rich@flatcap.org>
Sat, 14 Oct 2017 14:51:24 +0000 (15:51 +0100)
commit032db326ffd9cf88c838f2a07dc55417c808b20c
tree53dd84b210658aa3852e521e836a23928bbbbf91
parentde58c1489043e41a1ae4d561c072f79b90093502
split up 'if' statements that assign and test (2)

Split 'if' statements that combine an assignment with a test.
e.g. from:

    if (!(adr = mutt_parse_adrlist(adr, buf)))

To:
    adr = mutt_parse_adrlist(adr, buf);
    if (!adr)

This makes the statements a little easier to read and debug.
36 files changed:
charset.c
commands.c
compose.c
doc/makedoc.c
group.c
imap/browse.c
imap/command.c
imap/imap.c
imap/message.c
imap/util.c
init.c
main.c
mbox.c
mbyte.c
mh.c
mutt_ssl.c
mutt_ssl_gnutls.c
mx.c
ncrypt/crypt.c
ncrypt/crypt_gpgme.c
ncrypt/gnupgparse.c
ncrypt/pgp.c
ncrypt/pgppacket.c
ncrypt/smime.c
parse.c
pgppubring.c
pop.c
query.c
recvcmd.c
remailer.c
rfc2047.c
rfc2231.c
send.c
sendlib.c
smtp.c
url.c