[Spice-devel] [spice-server PATCH v1 6/12] red_parse_qxl: remove unused variable

Victor Toso victortoso at redhat.com
Wed Aug 5 05:23:20 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



More information about the Spice-devel mailing list