]> granicus.if.org Git - neomutt/commit
tidy: remove ()s from return 488/head
authorRichard Russon <rich@flatcap.org>
Sun, 26 Mar 2017 01:19:36 +0000 (02:19 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 30 Mar 2017 22:19:16 +0000 (23:19 +0100)
commit436360c1c5b332cd49dd3d5fa6eb209bd6082394
tree830b0c269ee53fa2ec0e1405e971677d82d1f32d
parent24febad172a92903938d80bc96fc2451f7762eab
tidy: remove ()s from return

The 'return' operator doesn't require its argument to the ()'d.
This has lead to some very inconsistent code.

This commit removes the ()s from return where the argument is a single
token, e.g.
    return 42;
    return fn(x);

There are ~480 occurrences.
60 files changed:
addrbook.c
alias.c
attach.c
browser.c
buffer.c
buffy.c
color.c
commands.c
complete.c
compose.c
copy.c
crypt-gpgme.c
crypt.c
curs_lib.c
curs_main.c
date.c
edit.c
filter.c
flags.c
from.c
handler.c
hash.c
hdrline.c
help.c
history.c
hook.c
imap/imap.c
init.c
keymap.c
lib.c
mbox.c
menu.c
mh.c
mutt_lua.c
mutt_ssl_gnutls.c
muttlib.c
mx.c
newsrc.c
pager.c
parse.c
pattern.c
pgp.c
pgpinvoke.c
pgpkey.c
postpone.c
query.c
recvattach.c
recvcmd.c
remailer.c
rfc3676.c
rfc822.c
score.c
send.c
sendlib.c
signal.c
smime.c
sort.c
status.c
system.c
thread.c