Commit a16f7044 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

windowscodecs: Remove not reachable code in the TIFF decoder.

parent 7cbd9dcd
...@@ -440,12 +440,6 @@ static HRESULT tiff_get_decode_info(TIFF *tiff, tiff_decode_info *decode_info) ...@@ -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)
{ {
......
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