mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 777292 - security/manager/: Fix incorrect conversions to nsresult; r=kaie
This commit is contained in:
parent
5d272daa1b
commit
ebbeed4a32
@ -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