Browse Source

simplify fix for 47612

Ludwig Krispenz 12 years ago
parent
commit
3155bbb508
1 changed files with 1 additions and 3 deletions
  1. 1 3
      ldap/servers/slapd/entrywsi.c

+ 1 - 3
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 )
 		{