utils_avltree.c: fix compiler warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 17:36:52 +0000 (18:36 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 17:36:52 +0000 (18:36 +0100)
commit0cf5d26c680adff5a50fc4883af7c8c0570ed6d3
treea19109d207ca1831d134cefb81306af597152e11
parent8d913d388c069a43ca92683b60c86607630ee9bd
utils_avltree.c: fix compiler warning

make[3]: Entering directory '/home/ruben/src/collectd/src/daemon'
  CC       utils_avltree.lo
utils_avltree.c: In function ‘rebalance’:
utils_avltree.c:248:20: warning: logical ‘or’ of collectively exhaustive
tests is always true [-Wlogical-op]
    assert ((b_bottom >= -1) || (b_bottom <= 1));
                    ^~
utils_avltree.c:258:20: warning: logical ‘or’ of collectively exhaustive
tests is always true [-Wlogical-op]
    assert ((b_bottom >= -1) || (b_bottom <= 1));
                    ^~
src/utils_avltree.c