[Spice-commits] Branch 'wip' - canvas_utils.c
Marc-André Lureau
elmarco at kemper.freedesktop.org
Thu Mar 15 07:57:36 PDT 2012
canvas_utils.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit c71904e26748d7932df581939f64383a18acaf0e
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date: Thu Mar 15 15:57:04 2012 +0100
Fix build with SPICE_DISABLE_ABORT
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;
More information about the Spice-commits
mailing list