krnl386.exe16: Fixed if that always succeeds (Coverity).

This commit is contained in:
Marcus Meissner 2011-05-11 14:36:16 +02:00 committed by Alexandre Julliard
parent 90b2672e6b
commit 428e0312b7
1 changed files with 2 additions and 1 deletions

View File

@ -533,7 +533,8 @@ static void NE_FixupSegmentPrologs(NE_MODULE *pModule, WORD segnum)
if (!pModule->ne_autodata) return;
if (!(dgroup = SEL(pSegTable[pModule->ne_autodata-1].hSeg))) return;
if (!pSegTable[pModule->ne_autodata-1].hSeg) return;
dgroup = SEL(pSegTable[pModule->ne_autodata-1].hSeg);
pSeg = MapSL( MAKESEGPTR(sel, 0) );