user32: Remove useless NULL check (Coverity).
This commit is contained in:
parent
051fc3458c
commit
4d96ffb52b
|
@ -282,7 +282,7 @@ void MDI_CalcDefaultChildPos( HWND hwndClient, INT total, LPPOINT lpPos, INT del
|
|||
if (total < 0) /* we are called from CreateWindow */
|
||||
{
|
||||
MDICLIENTINFO *ci = get_client_info(hwndClient);
|
||||
total = ci ? ci->nTotalCreated : 0;
|
||||
total = ci->nTotalCreated;
|
||||
*id = ci->idFirstChild + ci->nActiveChildren;
|
||||
TRACE("MDI child id %04x\n", *id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue