[WIN32K]: Fix large amount of set-but-unused variables. Most of these seemed to be...
[reactos.git] / reactos / subsystems / win32 / win32k / objects / palette.c
index e108b5c..a8f3b82 100644 (file)
@@ -693,7 +693,6 @@ IntGdiRealizePalette(HDC hDC)
   int realized = 0;
   PDC dc;
   HPALETTE systemPalette;
-  USHORT sysMode, palMode;
 
   dc = DC_LockDc(hDC);
   if (!dc) return 0;
@@ -731,8 +730,6 @@ IntGdiRealizePalette(HDC hDC)
   }
 
   // need to pass this to IntEngCreateXlate with palettes unlocked
-  sysMode = sysGDI->Mode;
-  palMode = palGDI->Mode;
   PALETTE_UnlockPalette(sysGDI);
   PALETTE_UnlockPalette(palGDI);