From d0296e6e3308ce29121bbf3d42fab864cf371df9 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 30 May 2012 05:09:31 -0700 Subject: [PATCH] ITS#7279 init rc in mdb_idl_insert_keys --- servers/slapd/back-mdb/idl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-mdb/idl.c b/servers/slapd/back-mdb/idl.c index 35623ad624..227c9802f9 100644 --- a/servers/slapd/back-mdb/idl.c +++ b/servers/slapd/back-mdb/idl.c @@ -398,7 +398,7 @@ mdb_idl_insert_keys( MDB_val key, data; ID lo, hi, *i; char *err; - int rc, k; + int rc = 0, k; unsigned int flag = MDB_NODUPDATA; #ifndef MISALIGNED_OK int kbuf[2]; @@ -546,7 +546,7 @@ mdb_idl_delete_keys( struct berval *keys, ID id ) { - int rc, k; + int rc = 0, k; MDB_val key, data; ID lo, hi, tmp, *i; char *err; -- 2.39.5