From: Bertram Scharpf Date: Sat, 23 Jun 2018 16:34:35 +0000 (+0200) Subject: Return statements without parentheses X-Git-Tag: 2019-10-25~747^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=218e0ba65dd18cdce78ea45133384ade80e7062a;p=neomutt Return statements without parentheses --- diff --git a/addrbook.c b/addrbook.c index e56722944..fa885ebf7 100644 --- a/addrbook.c +++ b/addrbook.c @@ -48,7 +48,7 @@ char *AliasFormat; short SortAlias; -#define RSORT(x) (SortAlias & SORT_REVERSE) ? -x : x +#define RSORT(x) ((SortAlias & SORT_REVERSE) ? -x : x) static const struct Mapping AliasHelp[] = { { N_("Exit"), OP_EXIT }, { N_("Del"), OP_DELETE }, @@ -162,7 +162,7 @@ static int alias_sort_alias(const void *a, const void *b) struct Alias *pb = *(struct Alias **) b; int r = mutt_str_strcasecmp(pa->name, pb->name); - return (RSORT(r)); + return RSORT(r); } /** @@ -196,7 +196,7 @@ static int alias_sort_address(const void *a, const void *b) r = -1; else r = mutt_str_strcasecmp(pa->mailbox, pb->mailbox); - return (RSORT(r)); + return RSORT(r); } /**