Sync with trunk head (r48786)
[reactos.git] / subsystems / win32 / win32k / objects / palette.c
index 7896457..637b413 100644 (file)
@@ -727,7 +727,6 @@ IntGdiRealizePalette(HDC hDC)
   int realized = 0;
   PDC dc;
   HPALETTE systemPalette;
-  USHORT sysMode, palMode;
 
   dc = DC_LockDc(hDC);
   if (!dc) return 0;
@@ -765,8 +764,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);