coverity#1296211 pCurWin == pNewWin at this point
should silence coverity#1296211 Explicit null dereferenced Change-Id: I0798db1b88bfec94139995db552029b18a9562af
This commit is contained in:
@@ -1003,7 +1003,7 @@ void Shell::SetCurWindow( BaseWindow* pNewWin, bool bUpdateTabBar, bool bRemembe
|
|||||||
while ( pFocusWindow && ( pFocusWindow != pFrameWindow ) )
|
while ( pFocusWindow && ( pFocusWindow != pFrameWindow ) )
|
||||||
pFocusWindow = pFocusWindow->GetParent();
|
pFocusWindow = pFocusWindow->GetParent();
|
||||||
if ( pFocusWindow ) // Focus in BasicIDE
|
if ( pFocusWindow ) // Focus in BasicIDE
|
||||||
pNewWin->GrabFocus();
|
pCurWin->GrabFocus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user