aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 10:15:19 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 10:15:19 +0000
commitf7bcd2b34d24a32ee1779c3e046d36fd49890d07 (patch)
treecb443dd67d50faefcb4b853e96d16266ec64f528 /win
parent58cc2c0d019f32b2cf400051c3d87f2eb76b1584 (diff)
downloadtigervnc-f7bcd2b34d24a32ee1779c3e046d36fd49890d07.tar.gz
tigervnc-f7bcd2b34d24a32ee1779c3e046d36fd49890d07.zip
Removed unused variable
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3350 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/DeviceFrameBuffer.cxx1
1 files changed, 0 insertions, 1 deletions
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;