aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/DeviceFrameBuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/DeviceFrameBuffer.cxx')
-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;