gdi: Also initialize a variable in the failure case.
This commit is contained in:
parent
819815d66c
commit
ac6d4f7e94
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue