From e67bb2dfbb9028fb10b4c219871d1159d9eeb418 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 3 Mar 2015 16:47:01 +0100 Subject: [PATCH] Compiler doesn't like referencing unset variables --- win/rfb_win32/DeviceContext.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/win/rfb_win32/DeviceContext.cxx b/win/rfb_win32/DeviceContext.cxx index ad5e6b1c..da19de83 100644 --- a/win/rfb_win32/DeviceContext.cxx +++ b/win/rfb_win32/DeviceContext.cxx @@ -127,6 +127,10 @@ PixelFormat DeviceContext::getPF(HDC dc) { if (bpp < 8) bpp = 8; vlog.info("%d-colour palettised", 1<