X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-bdb%2Findex.c;h=de4cf3d8363c3bb17e5d08da083252a18233ce3b;hb=f96e6378d6cd06c744a47af5e5e551cbb494826a;hp=95843a60714f5cdd37efec58db681d8b00491e87;hpb=f94968fb5b995203f2c7343069f6152e58b46230;p=openldap
diff --git a/servers/slapd/back-bdb/index.c b/servers/slapd/back-bdb/index.c
index 95843a6071..de4cf3d836 100644
--- a/servers/slapd/back-bdb/index.c
+++ b/servers/slapd/back-bdb/index.c
@@ -2,7 +2,7 @@
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software .
*
- * Copyright 2000-2005 The OpenLDAP Foundation.
+ * Copyright 2000-2006 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -433,7 +433,7 @@ int bdb_index_recrun(
{
IndexRec *ir;
AttrList *al;
- int i, rc;
+ int i, rc = 0;
for (i=base; ibi_nattrs; i+=slap_tool_thread_max) {
ir = ir0 + i;