]> git.sur5r.net Git - openldap/commitdiff
trim prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 12 Jan 2004 04:15:51 +0000 (04:15 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 12 Jan 2004 04:15:51 +0000 (04:15 +0000)
servers/slapd/back-bdb/tools.c

index e73f7c70db73b1159c57cd4a5e2e6c4d0c18a675..4f521b2ccf3b3b78ab46d9658cc43f606bda21b0 100644 (file)
@@ -266,7 +266,6 @@ static int bdb_tool_next_id(
                unsigned i;
 
                e->e_id = ei->bei_id;
-               rc = DB_KEYEXIST;
 
                for ( i=0; i<nholes; i++) {
                        if ( holes[i].id == e->e_id ) {
@@ -275,7 +274,6 @@ static int bdb_tool_next_id(
                                for (j=i;j<nholes;j++) holes[j] = holes[j+1];
                                holes[j].id = 0;
                                nholes--;
-                               rc = 0;
                                break;
                        } else if ( holes[i].id > e->e_id ) {
                                break;