windowscodecs: Remove not reachable code in the TIFF decoder.

This commit is contained in:
Dmitry Timoshkov 2012-06-18 14:32:04 +09:00 committed by Alexandre Julliard
parent 7cbd9dcdc3
commit a16f7044a4
1 changed files with 0 additions and 6 deletions

View File

@ -440,12 +440,6 @@ static HRESULT tiff_get_decode_info(TIFF *tiff, tiff_decode_info *decode_info)
{ {
decode_info->tiled = 1; decode_info->tiled = 1;
if (!ret)
{
WARN("missing tile width\n");
return E_FAIL;
}
ret = pTIFFGetField(tiff, TIFFTAG_TILELENGTH, &decode_info->tile_height); ret = pTIFFGetField(tiff, TIFFTAG_TILELENGTH, &decode_info->tile_height);
if (!ret) if (!ret)
{ {