Commit 428e0312 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

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

parent 90b2672e
......@@ -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) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment