Ludwig Krispenz 12 лет назад
Родитель
Сommit
3155bbb508
1 измененных файлов с 1 добавлено и 3 удалено
  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 )
 		{