[Spice-devel] [spice-server PATCH v1 6/12] red_parse_qxl: remove unused variable
Frediano Ziglio
fziglio at redhat.com
Thu Aug 6 05:31:12 PDT 2015
>
> ---
> server/red_parse_qxl.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/server/red_parse_qxl.c b/server/red_parse_qxl.c
> index 07c3cac..5b1befa 100644
> --- a/server/red_parse_qxl.c
> +++ b/server/red_parse_qxl.c
> @@ -362,10 +362,6 @@ static int bitmap_consistent(SpiceBitmap *bitmap)
> return TRUE;
> }
>
> -// This is based on SPICE_BITMAP_FMT_*, copied from server/red_worker.c
> -// to avoid a possible unoptimization from making it non static.
> -static const int BITMAP_FMT_IS_RGB[] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1};
> -
> static SpiceImage *red_get_image(RedMemSlotInfo *slots, int group_id,
> QXLPHYSICAL addr, uint32_t flags, int
> is_mask)
> {
> --
> 2.4.3
>
Acked
Frediano
More information about the Spice-devel
mailing list