mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fix warning
svn path=/trunk/; revision=32468
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user