From: Pierangelo Masarati Date: Tue, 29 Jun 2004 17:32:43 +0000 (+0000) Subject: `err' might be used uninitialized X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~150 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e052d7297da137a4197c44ef528f39a6d6ae0086;p=openldap `err' might be used uninitialized --- diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 5855537648..ce0195e35d 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -116,8 +116,11 @@ int bdb_modify_internal( break; case LDAP_MOD_DELETE: - if ( glue_attr_delete ) + if ( glue_attr_delete ) { + err = LDAP_SUCCESS; break; + } + #ifdef NEW_LOGGING LDAP_LOG ( OPERATION, DETAIL1, "bdb_modify_internal: delete\n", 0, 0, 0 );