From 160585b1bc491f1f5cf14a2a825c97342aece2e5 Mon Sep 17 00:00:00 2001 From: Hallvard B Furuseth Date: Wed, 29 Jun 2011 20:13:56 +0200 Subject: [PATCH] Warning cleanup: Drop unneeded 'unsigned >= 0' --- libraries/libmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5