Module: wine Branch: master Commit: a16f7044a44b35246185cb4153f202efd2ac3256 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a16f7044a44b35246185cb4153...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Mon Jun 18 14:32:04 2012 +0900
windowscodecs: Remove not reachable code in the TIFF decoder.
---
dlls/windowscodecs/tiffformat.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c index 66f65d1..669351d 100644 --- a/dlls/windowscodecs/tiffformat.c +++ b/dlls/windowscodecs/tiffformat.c @@ -440,12 +440,6 @@ static HRESULT tiff_get_decode_info(TIFF *tiff, tiff_decode_info *decode_info) { decode_info->tiled = 1;
- if (!ret) - { - WARN("missing tile width\n"); - return E_FAIL; - } - ret = pTIFFGetField(tiff, TIFFTAG_TILELENGTH, &decode_info->tile_height); if (!ret) {