Bug 559333 useless signed check of PRUint32 index in nsCertTree::DeleteEntryObject

r=kaie
This commit is contained in:
timeless@mozdev.org 2010-06-16 18:54:22 +02:00
parent f85c3a9229
commit 87fe91746b

View File

@ -792,7 +792,7 @@ if (count) {
NS_IMETHODIMP
nsCertTree::DeleteEntryObject(PRUint32 index)
{
if (!mTreeArray || index < 0) {
if (!mTreeArray) {
return NS_ERROR_FAILURE;
}