summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-15 15:57:04 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-15 15:57:04 +0100
commitc71904e26748d7932df581939f64383a18acaf0e (patch)
treeae299b9624d4dc6fffe2e0ac2440724ce65e96fa
parent0da9c0d6ac4d709e00dd92b744cdd9f1bd1ca7de (diff)
Fix build with SPICE_DISABLE_ABORTbefore-marshaller
-rw-r--r--canvas_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/canvas_utils.c b/canvas_utils.c
index f61da6e..7b92436 100644
--- a/canvas_utils.c
+++ b/canvas_utils.c
@@ -179,6 +179,7 @@ pixman_image_t * surface_create(pixman_format_code_t format, int width, int heig
break;
default:
spice_error("invalid format");
+ return NULL;
}
bitmap_info.inf.bmiHeader.biCompression = BI_RGB;