dtwm: Coverity 88375

This commit is contained in:
Peter Howkins
2018-07-02 21:03:42 +01:00
parent ac6fd23add
commit 3fe9d94879

View File

@@ -640,7 +640,7 @@ static void WmDtCloseHelpCB (
pTemp = pSD->cachedHelp; pTemp = pSD->cachedHelp;
/* Search our Cache List for the closed help dialog */ /* Search our Cache List for the closed help dialog */
while ((pTemp->helpDialog != helpDialog) && (pTemp != NULL)) while (pTemp && (pTemp->helpDialog != helpDialog))
{ {
pTemp = pTemp->pNext; pTemp = pTemp->pNext;
} }