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 8775e80795
commit 798e2282d4

View File

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