diff options
author | Serge Ziryukin <ftrvxmtrx@gmail.com> | 2010-08-28 23:24:33 +0300 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-04 09:55:10 +0000 |
commit | 49e3fcc24922074f51830eec7d472787e58af673 (patch) | |
tree | 27f04e64d7611460ddd44ab10eef9253f50da072 | |
parent | ad0a4ac1c0e1859eb0c67900dba696cc459b42a7 (diff) | |
download | qemu-49e3fcc24922074f51830eec7d472787e58af673.tar.gz qemu-49e3fcc24922074f51830eec7d472787e58af673.tar.bz2 qemu-49e3fcc24922074f51830eec7d472787e58af673.zip |
vnc: tight: remove unused variable
Signed-off-by: Serge Ziryukin <ftrvxmtrx@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | ui/vnc-enc-tight.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c index c942bb7b90..e3db8e98b9 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 { |