[Spice-devel] [PATCH spice-common] Add a return value to the default case in create_bitmap to satisfy VC++
Alon Levy
alevy at redhat.com
Tue Apr 17 00:16:14 PDT 2012
On Mon, Apr 16, 2012 at 11:47:25AM -0500, Aric Stewart wrote:
> ---
> common/gdi_canvas.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>
ACK. I'll push
> diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c
> index 4c5daea..0a04bf8 100644
> --- a/common/gdi_canvas.c
> +++ b/common/gdi_canvas.c
> @@ -564,7 +564,7 @@ static uint8_t *create_bitmap(HBITMAP *bitmap, HBITMAP *prev_bitmap, HDC *dc,
> break;
> default:
> spice_warn_if_reached();
> - return;
> + return NULL;
> }
>
> if (bitmap_data) {
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list