Author: gedmurphy
Date: Sun Feb 24 15:45:10 2008
New Revision: 32468
URL:
http://svn.reactos.org/svn/reactos?rev=32468&view=rev
Log:
fix warning
Modified:
trunk/reactos/drivers/video/displays/framebuf/palette.c
Modified: trunk/reactos/drivers/video/displays/framebuf/palette.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/displays/fra…
==============================================================================
--- trunk/reactos/drivers/video/displays/framebuf/palette.c (original)
+++ trunk/reactos/drivers/video/displays/framebuf/palette.c Sun Feb 24 15:45:10 2008
@@ -175,6 +175,7 @@
IN ULONG cColors)
{
PPALETTEENTRY PaletteEntries;
+ BOOL bRet;
if (cColors == 0)
return FALSE;
@@ -192,7 +193,7 @@
return FALSE;
}
- BOOL bRet = IntSetPalette(dhpdev, PaletteEntries, iStart, cColors);
+ bRet = IntSetPalette(dhpdev, PaletteEntries, iStart, cColors);
EngFreeMem(PaletteEntries);
return bRet;
}