From: Peter Åstrand Date: Wed, 10 Dec 2008 10:15:19 +0000 (+0000) Subject: Removed unused variable X-Git-Tag: v0.0.90~319 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f7bcd2b34d24a32ee1779c3e046d36fd49890d07;p=tigervnc.git Removed unused variable git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3350 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/rfb_win32/DeviceFrameBuffer.cxx b/win/rfb_win32/DeviceFrameBuffer.cxx index 8da894e0..b1e56a3e 100644 --- a/win/rfb_win32/DeviceFrameBuffer.cxx +++ b/win/rfb_win32/DeviceFrameBuffer.cxx @@ -233,7 +233,6 @@ void DeviceFrameBuffer::setCursor(HCURSOR hCursor, VNCServer* server) if (!iconInfo.hbmColor) { Pixel xorColour = format.pixelFromRGB(0, 0, 0, cursorBm.getColourMap()); for (int y = 0; y < cursor.height(); y++) { - bool first = true; for (int x = 0; x < cursor.width(); x++) { int byte = y * maskInfo.bmWidthBytes + x / 8; int bit = 7 - x % 8;