[Spice-devel] [PATCH v2 murmur 1/2] qxl_image: silence two warnings because of unused hash
Alon Levy
alevy at redhat.com
Mon Jan 23 00:54:49 PST 2012
---
src/qxl_image.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/qxl_image.c b/src/qxl_image.c
index 0ffb031..4988cbf 100644
--- a/src/qxl_image.c
+++ b/src/qxl_image.c
@@ -136,6 +136,8 @@ qxl_image_create (qxl_screen_t *qxl, const uint8_t *data,
data += y * stride + x * Bpp;
+ (void)hash;
+ (void)info; // silence warnings until hash gets resurrected
#if 0
hash = hash_and_copy (data, stride, NULL, -1, Bpp, width, height);
--
1.7.8.4
More information about the Spice-devel
mailing list