Index: /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp	(revision 43744)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp	(revision 43745)
@@ -3717,5 +3717,4 @@
     uint32_t bitsPerPixel;
     uint32_t b = 0xff, g = 0xff00, r = 0xff0000;
-    ulong pixelFormat;
     bool bUsesGuestVram;
 
@@ -3778,5 +3777,4 @@
         {
             // ulong virtWdt = bitsPerLine / size.bitsPerPixel();
-            pixelFormat = FramebufferPixelFormat_FOURCC_RGB;
             bUsesGuestVram = true;
         }
@@ -3799,5 +3797,4 @@
         r = 0xff0000;
         bytesPerLine = size.width()*bitsPerPixel/8;
-        pixelFormat = FramebufferPixelFormat_FOURCC_RGB;
         bUsesGuestVram = false;
     }
