[Spice-devel] [PATCH 3/9] qxl_image.c: fix defined but unused warning

Alon Levy alevy at redhat.com
Fri Apr 29 02:36:56 PDT 2011


---
 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 04074d0..af83bd6 100644
--- a/src/qxl_image.c
+++ b/src/qxl_image.c
@@ -93,6 +93,7 @@ lookup_image_info (unsigned int hash,
     return NULL;
 }
 
+#if 0
 static image_info_t *
 insert_image_info (unsigned int hash)
 {
@@ -106,6 +107,7 @@ insert_image_info (unsigned int hash)
     
     return info;
 }
+#endif
 
 static void
 remove_image_info (image_info_t *info)
-- 
1.7.4.4



More information about the Spice-devel mailing list