]> granicus.if.org Git - neomutt/commit
simplify null checks
authorRichard Russon <rich@flatcap.org>
Sat, 7 Oct 2017 20:37:34 +0000 (21:37 +0100)
committerRichard Russon <rich@flatcap.org>
Sat, 14 Oct 2017 14:01:43 +0000 (15:01 +0100)
commitd83f7793ff9d25d6a042f004ad638825ec9163a0
treea85c844a745b03ca0fa731d0881f5d77a0166b5a
parentd7509ab50e04b8401da6aa87b80cdb4ac3a39709
simplify null checks

Simplify checks:
* `if (x == NULL)` -> `if (!x)`
* `if (x != NULL)` -> `if (x)`
browser.c
compose.c
copy.c
headers.c
lib/file.c
lib/memory.c
main.c
mbox.c
mutt_lua.c
pager.c