gdi: Also initialize a variable in the failure case.

This commit is contained in:
Gerald Pfeifer 2006-04-07 07:52:22 +02:00 committed by Alexandre Julliard
parent 819815d66c
commit ac6d4f7e94
1 changed files with 1 additions and 0 deletions

View File

@ -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;