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

This commit is contained in:
Gerald Pfeifer 2011-02-13 00:43:30 +01:00 committed by Alexandre Julliard
parent e36370f04b
commit 8c9abc1dd8
1 changed files with 1 additions and 1 deletions

View File

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