mirror of
https://github.com/reactos/wine.git
synced 2025-02-03 10:43:30 +00:00
krnl386.exe16: Fixed if that always succeeds (Coverity).
This commit is contained in:
parent
90b2672e6b
commit
428e0312b7
@ -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) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user