From a16f7044a44b35246185cb4153f202efd2ac3256 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 18 Jun 2012 14:32:04 +0900 Subject: [PATCH] windowscodecs: Remove not reachable code in the TIFF decoder. --- dlls/windowscodecs/tiffformat.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c index 66f65d1aeb2..669351d8677 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) { -- 2.11.4.GIT