diff options
-rw-r--r-- | canvas_utils.c | 1 |
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; |