mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 559333 useless signed check of PRUint32 index in nsCertTree::DeleteEntryObject
r=kaie
This commit is contained in:
parent
f85c3a9229
commit
87fe91746b
@ -792,7 +792,7 @@ if (count) {
|
||||
NS_IMETHODIMP
|
||||
nsCertTree::DeleteEntryObject(PRUint32 index)
|
||||
{
|
||||
if (!mTreeArray || index < 0) {
|
||||
if (!mTreeArray) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user