fixed uninitialized variable warnings
authorThomas Bluemel <thomas@reactsoft.com>
Fri, 18 Nov 2005 23:19:38 +0000 (23:19 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Fri, 18 Nov 2005 23:19:38 +0000 (23:19 +0000)
svn path=/trunk/; revision=19333

reactos/subsys/win32k/objects/dib.c

index 0be5824..cf165c7 100644 (file)
@@ -1149,6 +1149,7 @@ BuildDIBPalette (CONST BITMAPINFO *bmi, PINT paletteType)
   if (bits <= 8)
     {
       *paletteType = PAL_INDEXED;
+      RedMask = GreenMask = BlueMask = 0;
     }
   else if(bits < 24)
     {