Commit ac6d4f7e authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

gdi: Also initialize a variable in the failure case.

parent 819815d6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment