diff options
Diffstat (limited to 'common/rfb/tightDecode.h')
-rw-r--r-- | common/rfb/tightDecode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/rfb/tightDecode.h b/common/rfb/tightDecode.h index d0f7b68a..29177266 100644 --- a/common/rfb/tightDecode.h +++ b/common/rfb/tightDecode.h @@ -184,12 +184,11 @@ void TIGHT_DECODE (const Rect& r, rdr::InStream* is, } } } 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(); |