mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 777292 - security/manager/: Fix incorrect conversions to nsresult; r=kaie
This commit is contained in:
parent
4ae7b52fd9
commit
6b6d20e82c
@ -83,7 +83,9 @@ nsPKIParamBlock::SetISupportAtIndex(PRInt32 index, nsISupports *object)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
}
|
||||
return mSupports->InsertElementAt(object, index-1);
|
||||
// Ignore any InsertElementAt error, because this function always did that
|
||||
mSupports->InsertElementAt(object, index-1);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/* nsISupports getISupportAtIndex (in PRInt32 index); */
|
||||
|
Loading…
Reference in New Issue
Block a user