From e052d7297da137a4197c44ef528f39a6d6ae0086 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 29 Jun 2004 17:32:43 +0000 Subject: [PATCH] `err' might be used uninitialized --- servers/slapd/back-bdb/modify.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ); -- 2.39.5