mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
Fix test of uninit'd rc at LOCK_ID
This commit is contained in:
parent
2e6a83049e
commit
a8297e6d22
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user