All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vnc: tight: remove unused variable
@ 2010-08-28 20:24 Serge Ziryukin
  2010-09-04 10:07 ` Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Serge Ziryukin @ 2010-08-28 20:24 UTC (permalink / raw)
  To: qemu-devel; +Cc: Serge Ziryukin

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] vnc: tight: remove unused variable
  2010-08-28 20:24 [Qemu-devel] [PATCH] vnc: tight: remove unused variable Serge Ziryukin
@ 2010-09-04 10:07 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2010-09-04 10:07 UTC (permalink / raw)
  To: Serge Ziryukin; +Cc: qemu-devel

Thanks, applied.

On Sat, Aug 28, 2010 at 8:24 PM, Serge Ziryukin <ftrvxmtrx@gmail.com> wrote:
> 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
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-04 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-28 20:24 [Qemu-devel] [PATCH] vnc: tight: remove unused variable Serge Ziryukin
2010-09-04 10:07 ` Blue Swirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.