]> git.sur5r.net Git - openldap/commitdiff
Fix uninit'd rc
authorHoward Chu <hyc@openldap.org>
Sun, 30 Oct 2005 07:42:08 +0000 (07:42 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 30 Oct 2005 07:42:08 +0000 (07:42 +0000)
servers/slapd/back-bdb/index.c

index 95843a60714f5cdd37efec58db681d8b00491e87..18c478db536ff13261b5523ac055949f62d1bf2b 100644 (file)
@@ -433,7 +433,7 @@ int bdb_index_recrun(
 {
        IndexRec *ir;
        AttrList *al;
-       int i, rc;
+       int i, rc = 0;
 
        for (i=base; i<bdb->bi_nattrs; i+=slap_tool_thread_max) {
                ir = ir0 + i;