From bc9bb15feb9c96bc10ed8f4ac6ddf1fe24f72d24 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Mon, 21 Feb 2011 11:58:06 +0000 Subject: [PATCH] [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 --- common/rfb/tightDecode.h | 3 +-- 1 file changed, 1 insertion(+), 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(); -- 2.39.5