]> git.sur5r.net Git - openldap/commitdiff
Warning cleanup: Drop unneeded 'unsigned >= 0'
authorHallvard B Furuseth <h.b.furuseth@usit.uio.no>
Wed, 29 Jun 2011 18:13:56 +0000 (20:13 +0200)
committerHallvard B Furuseth <h.b.furuseth@usit.uio.no>
Wed, 29 Jun 2011 20:29:24 +0000 (22:29 +0200)
libraries/libmdb/mdb.c

index f9831bb135454f9e859edec802cfaac02d36b729..f3087230d283c86b1b8e32a582736f3837bc6e56 100644 (file)
@@ -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)