[Spice-devel] [spice-common 1/8] Remove unused variable

Marc-André Lureau mlureau at redhat.com
Mon Jan 6 05:11:41 PST 2014


ack series

----- Original Message -----
> It was assigned a value, but then the value was never used.
> ---
>  common/lz_compress_tmpl.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/common/lz_compress_tmpl.c b/common/lz_compress_tmpl.c
> index 2b66833..b5d0049 100644
> --- a/common/lz_compress_tmpl.c
> +++ b/common/lz_compress_tmpl.c
> @@ -479,11 +479,9 @@ static void FNAME(compress)(Encoder *encoder)
>      LzImageSegment    *cur_seg = encoder->head_image_segs;
>      HashEntry        *hslot;
>      PIXEL            *ip;
> -    PIXEL            *ip_start;
>  
>      // fetch the first image segment that is not too small
>      while (cur_seg && ((((PIXEL *)cur_seg->lines_end) - ((PIXEL
>      *)cur_seg->lines)) < 4)) {
> -        ip_start = (PIXEL *)cur_seg->lines;
>          // coping the segment
>          if (cur_seg->lines != cur_seg->lines_end) {
>              ip = (PIXEL *)cur_seg->lines;
> --
> 1.8.4.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list