From: Howard Chu Date: Sat, 24 Aug 2013 18:54:05 +0000 (-0700) Subject: Cleanup prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_37~39^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b917266ca10c09092cb000c34740289c698ca694;p=openldap Cleanup prev commit --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 842008578c..59a0d51f16 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -1481,9 +1481,8 @@ mdb_page_spill(MDB_cursor *m0, MDB_val *key, MDB_val *data) unsigned int num = sl[0]; j=1; for (i=1; i<=num; i++) { - if (sl[i] == sl[j]) - continue; - sl[++j] = sl[i]; + if (sl[j] != sl[i]) + sl[++j] = sl[i]; } sl[0] = j; }