diff --git a/xpinstall/wizard/unix/src2/nsXIEngine.cpp b/xpinstall/wizard/unix/src2/nsXIEngine.cpp index 2e8c7333a54..ab6aa1ec589 100644 --- a/xpinstall/wizard/unix/src2/nsXIEngine.cpp +++ b/xpinstall/wizard/unix/src2/nsXIEngine.cpp @@ -781,9 +781,6 @@ nsXIEngine::DeleteXPIs(int aCustom, nsComponentList *aComps) nsComponent *currComp = aComps->GetHead(); char currXPIPath[MAXPATHLEN]; - if (!aComps || !mOriginalDir) - return E_PARAM; - while (currComp) { if ( (aCustom == TRUE && currComp->IsSelected()) || (aCustom == FALSE) )