]> granicus.if.org Git - mutt/commit
Fix AUXSORT usage in compare_spam.
authorKevin McCarthy <kevin@8t8.us>
Sat, 28 Jul 2018 19:59:35 +0000 (12:59 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sat, 28 Jul 2018 19:59:35 +0000 (12:59 -0700)
commit8a81930db9285bbcf8494560144ffa4e43e988a4
tree97e89a5c5378903523d29b9933b974648cd0cec4
parent2af6caa111358fb915f5ca82f5229ba6a8dac5be
Fix AUXSORT usage in compare_spam.

AUXSORT already checks if the first parameter is zero.

Additionally, the macro expands into more than one statement, so
putting inside an unbracketed if is misleading and generates a
warning on the latest gcc.

Fortunately, both statements checked if the first parameter was zero,
so no actual bug resulted.
sort.c