Commit 8c9abc1d authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

comctl32/tests: Avoid uninitialized variable warning in GetWidthBytes().

parent e36370f0
......@@ -753,7 +753,7 @@ static INT DIB_GetWidthBytes( int width, int bpp )
default:
trace("Unknown depth %d, please report.\n", bpp );
assert(0);
break;
return -1;
}
return 4 * words;
}
......
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