From ac6d4f7e946140693b68d9af09109de63cd45d04 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Fri, 7 Apr 2006 07:52:22 +0200 Subject: [PATCH] gdi: Also initialize a variable in the failure case. --- dlls/gdi/tests/bitmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/gdi/tests/bitmap.c b/dlls/gdi/tests/bitmap.c index 3fa2ee14be4..3c410a0e587 100644 --- a/dlls/gdi/tests/bitmap.c +++ b/dlls/gdi/tests/bitmap.c @@ -232,6 +232,7 @@ static INT DIB_GetWidthBytes( int width, int bpp ) case 32: words = width; break; default: + words=0; trace("Unknown depth %d, please report.\n", bpp ); assert(0); break; -- 2.11.4.GIT