windowscodecs: Remove not reachable code in the TIFF decoder.

Dmitry Timoshkov dmitry at baikal.ru
Mon Jun 18 00:32:04 CDT 2012


---
 dlls/windowscodecs/tiffformat.c | 6 ------
 1 file changed, 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)
         {
-- 
1.7.11




More information about the wine-patches mailing list