[389-commits] ldap/servers

Ludwig Krispenz lkrispen at fedoraproject.org
Thu Dec 5 15:37:27 UTC 2013


 ldap/servers/slapd/entrywsi.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 3155bbb508812de2e6c8cc315fb7315a8c96ba15
Author: Ludwig Krispenz <lkrispen at redhat.com>
Date:   Thu Dec 5 16:32:39 2013 +0100

    simplify fix for 47612

diff --git a/ldap/servers/slapd/entrywsi.c b/ldap/servers/slapd/entrywsi.c
index afaf019..f4f6481 100644
--- a/ldap/servers/slapd/entrywsi.c
+++ b/ldap/servers/slapd/entrywsi.c
@@ -785,9 +785,7 @@ entry_delete_present_values_wsi_multi_valued(Slapi_Entry *e, const char *type, s
 {
 	int retVal= LDAP_SUCCESS;
 	Slapi_Attr *a= NULL;
-	int attr_state;
-	entry_attr_find_wsi(e, type, &a);
-	attr_state = entry_attr_find_wsi(e, type, &a);
+	int attr_state = entry_attr_find_wsi(e, type, &a);
 		/* The attribute is on the present list, or the deleted list and we're doing URP */
 		if ( vals == NULL || vals[0] == NULL )
 		{




More information about the 389-commits mailing list