From: Hallvard B Furuseth Date: Wed, 29 Jun 2011 18:13:56 +0000 (+0200) Subject: Warning cleanup: Drop unneeded 'unsigned >= 0' X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~167 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=160585b1bc491f1f5cf14a2a825c97342aece2e5;p=openldap Warning cleanup: Drop unneeded 'unsigned >= 0' --- diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index f9831bb135..f3087230d2 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -1186,7 +1186,7 @@ mdb_search_page_root(MDB_db *bt, MDB_val *key, if (key) DPRINTF("following index %u for key %.*s", i, (int)key->mv_size, (char *)key->mv_data); - assert(i >= 0 && i < NUMKEYS(mp)); + assert(i < NUMKEYS(mp)); node = NODEPTR(mp, i); if (cursor)