mirror of
https://github.com/reactos/reactos.git
synced 2024-07-14 08:26:08 +00:00
fix warning
svn path=/trunk/; revision=32468
This commit is contained in:
parent
67e5a63f04
commit
220e309727
|
@ -175,6 +175,7 @@ DrvSetPalette(
|
|||
IN ULONG cColors)
|
||||
{
|
||||
PPALETTEENTRY PaletteEntries;
|
||||
BOOL bRet;
|
||||
|
||||
if (cColors == 0)
|
||||
return FALSE;
|
||||
|
@ -192,7 +193,7 @@ DrvSetPalette(
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL bRet = IntSetPalette(dhpdev, PaletteEntries, iStart, cColors);
|
||||
bRet = IntSetPalette(dhpdev, PaletteEntries, iStart, cColors);
|
||||
EngFreeMem(PaletteEntries);
|
||||
return bRet;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue