user32: Remove useless NULL check (Coverity).

This commit is contained in:
Marcus Meissner 2010-01-06 16:47:00 +01:00 committed by Alexandre Julliard
parent 051fc3458c
commit 4d96ffb52b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}