coverity#705817 Dereference before null check

Change-Id: Ia96b3e78b65ebea0d74267468906e9bda2ae3da6
This commit is contained in:
Caolán McNamara
2014-03-13 10:50:11 +00:00
parent 0dc38bdde0
commit d575b23c18

View File

@@ -132,7 +132,7 @@ ReferencePathInfo MenuBarMerger::FindReferencePath(
}
i++;
}
while (( pCurrMenu != 0 ) && ( i < nCount ) && ( eResult == RP_OK ));
while ((i < nCount) && (eResult == RP_OK));
aResult.pPopupMenu = pCurrMenu;
aResult.nPos = nPos;