From a8297e6d2256caf15960161e5b38b900db0cc9da Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 13 Sep 2002 12:32:08 +0000 Subject: [PATCH] Fix test of uninit'd rc at LOCK_ID --- servers/slapd/back-bdb/group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/group.c b/servers/slapd/back-bdb/group.c index f774bb1831..20b768bbdb 100644 --- a/servers/slapd/back-bdb/group.c +++ b/servers/slapd/back-bdb/group.c @@ -81,7 +81,7 @@ bdb_group( if ( txn ) { locker = TXN_ID( txn ); } else { - LOCK_ID ( bdb->bi_dbenv, &locker ); + rc = LOCK_ID ( bdb->bi_dbenv, &locker ); switch(rc) { case 0: break; -- 2.39.5