summaryrefslogtreecommitdiffstats
path: root/server/red_parse_qxl.c
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2015-08-05 14:23:20 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-08-11 17:24:38 +0200
commit648808e282341a98f10df287331729fc1c3e2a08 (patch)
tree4ff3854439793b5a08274ea32b2282f0f3ab6891 /server/red_parse_qxl.c
parenta58e123c4b581fb390ca82afb9d1f324536e69a8 (diff)
downloadspice-648808e282341a98f10df287331729fc1c3e2a08.tar.gz
spice-648808e282341a98f10df287331729fc1c3e2a08.tar.xz
spice-648808e282341a98f10df287331729fc1c3e2a08.zip
red_parse_qxl: remove unused variable
Diffstat (limited to 'server/red_parse_qxl.c')
-rw-r--r--server/red_parse_qxl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/red_parse_qxl.c b/server/red_parse_qxl.c
index d2329a3b..cc1e6f32 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)
{