[Bugfix] Remove "unused-but-set" variable from tightDecode.h.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4298 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/tightDecode.h b/common/rfb/tightDecode.h
index d0f7b68..2917726 100644
--- a/common/rfb/tightDecode.h
+++ b/common/rfb/tightDecode.h
@@ -184,12 +184,11 @@
}
}
} else {
- int x, y, b, w;
+ int x, y, b;
PIXEL_T *ptr = buf;
rdr::U8 bits;
if (palSize <= 2) {
// 2-color palette
- w = (r.width() + 7) / 8;
for (y = 0; y < r.height(); y++) {
for (x = 0; x < r.width() / 8; x++) {
bits = input->readU8();