Kaydet (Commit) d575b23c authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#705817 Dereference before null check

Change-Id: Ia96b3e78b65ebea0d74267468906e9bda2ae3da6
üst 0dc38bdd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment