[Spice-devel] [xf86-video-qxl warnings 2/6] Removed unused local variables

Jeremy White jwhite at codeweavers.com
Thu Mar 21 09:23:06 PDT 2013


Signed-off-by: Jeremy White <jwhite at codeweavers.com>
---
 src/qxl_driver.c |    1 -
 src/qxl_image.c  |    1 -
 2 files changed, 2 deletions(-)

diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 526bd69..ff58601 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -590,7 +590,6 @@ qxl_create_screen_resources (ScreenPtr pScreen)
     Bool           ret;
     PixmapPtr      pPixmap;
     qxl_surface_t *surf;
-    int            i;
     
     pScreen->CreateScreenResources = qxl->create_screen_resources;
     ret = pScreen->CreateScreenResources (pScreen);
diff --git a/src/qxl_image.c b/src/qxl_image.c
index 85e2455..40798b3 100644
--- a/src/qxl_image.c
+++ b/src/qxl_image.c
@@ -137,7 +137,6 @@ qxl_image_create (qxl_screen_t *qxl, const uint8_t *data,
 	image_info_t *info;
 	struct QXLImage *image;
 	struct qxl_bo *head_bo, *tail_bo;
-	struct QXLDataChunk *tail;
 	struct qxl_bo *image_bo;
 	int dest_stride = (width * Bpp + 3) & (~3);
 	int h;
-- 
1.7.10.4





More information about the Spice-devel mailing list