From: Serge Ziryukin Date: Sat, 28 Aug 2010 20:24:33 +0000 (+0300) Subject: vnc: tight: remove unused variable X-Git-Tag: TizenStudio_2.0_p2.3~4191 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79b6812493fe97b0d6a016a3bbbc5e2730ee4b56;p=sdk%2Femulator%2Fqemu.git vnc: tight: remove unused variable Signed-off-by: Serge Ziryukin Signed-off-by: Blue Swirl --- diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c index c942bb7..e3db8e9 100644 --- a/ui/vnc-enc-tight.c +++ b/ui/vnc-enc-tight.c @@ -1351,7 +1351,6 @@ static int send_png_rect(VncState *vs, int x, int y, int w, int h, png_structp png_ptr; png_infop info_ptr; png_colorp png_palette = NULL; - size_t offset; int level = tight_png_conf[vs->tight.compression].png_zlib_level; int filters = tight_png_conf[vs->tight.compression].png_filters; uint8_t *buf; @@ -1396,7 +1395,6 @@ static int send_png_rect(VncState *vs, int x, int y, int w, int h, png_set_PLTE(png_ptr, info_ptr, png_palette, palette_size(palette)); - offset = vs->tight.tight.offset; if (vs->clientds.pf.bytes_per_pixel == 4) { tight_encode_indexed_rect32(vs->tight.tight.buffer, w * h, palette); } else {