tevent: avoid -Wtautological-compare errors with gcc6
authorMichael Adam <obnox@samba.org>
Wed, 13 Jul 2016 10:36:21 +0000 (12:36 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 14 Jul 2016 00:06:10 +0000 (02:06 +0200)
commit2991f7709973fdcc2c0b83bbe15dda3f1ceae9b3
tree37d9477af30ceba7feb6aed3cde5ae3b4528b5f4
parent5d85fd85467eb1f8941641d5f71d75e7d5c7234c
tevent: avoid -Wtautological-compare errors with gcc6

We expect these macros to generate tautological compares
intentionally, so disabling the warning is just fine.

This lets --picky-developer work with gcc6 and newer.

Pair-Programmed-With: Ira Cooper <ira@samba.org>

Signed-off-by: Ira Cooper <ira@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tevent/tevent_util.h