mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:56:05 +00:00
fix warning
svn path=/trunk/; revision=32468
This commit is contained in:
parent
67e5a63f04
commit
220e309727
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue