Bug 152700 compiler warnings caused by 119380 checkin

patch by dmose r=timeless sr=bryner
This commit is contained in:
timeless%mozdev.org 2003-02-28 03:18:58 +00:00
parent 9fa7e30bc0
commit c31255d3cd

View File

@ -597,7 +597,7 @@ nsLDAPMessage::GetBinaryValues(const char *aAttr, PRUint32 *aCount,
" creating nsBERValue object");
NS_FREE_XPCOM_ALLOCATED_POINTER_ARRAY(i, aValues);
ldap_value_free_len(values);
return rv == NS_ERROR_OUT_OF_MEMORY ? rv : NS_ERROR_UNEXPECTED;
return NS_ERROR_OUT_OF_MEMORY;
}
// copy the value from the struct into the nsBERValue