From: Serge Ziryukin <ftrvxmtrx@gmail.com>
To: qemu-devel@nongnu.org
Cc: Serge Ziryukin <ftrvxmtrx@gmail.com>
Subject: [Qemu-devel] [PATCH] vnc: tight: remove unused variable
Date: Sat, 28 Aug 2010 23:24:33 +0300 [thread overview]
Message-ID: <1283027073-8804-1-git-send-email-ftrvxmtrx@gmail.com> (raw)
Signed-off-by: Serge Ziryukin <ftrvxmtrx@gmail.com>
---
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 c4c9c3b..6ee10f9 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 {
--
1.7.2.2
next reply other threads:[~2010-08-28 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-28 20:24 Serge Ziryukin [this message]
2010-09-04 10:07 ` [Qemu-devel] [PATCH] vnc: tight: remove unused variable Blue Swirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283027073-8804-1-git-send-email-ftrvxmtrx@gmail.com \
--to=ftrvxmtrx@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).