Libtiff compilation fix for pre-C99 compilers.

Don't mix statements and declarations, this is not allowed in C89.

Fixes compilation with MSVC <= 10 after 6caa5e92c1

See #17083.
This commit is contained in:
Vadim Zeitlin
2015-07-30 00:55:35 +02:00
parent 9b029ea88a
commit f1b2c7ea04

View File

@@ -209,8 +209,8 @@ TIFFFdOpen(int ifd, const char* name, const char* mode)
TIFF* tif;
int fSuppressMap;
int m;
fSuppressMap=0;
fd_as_handle_union_t fdh;
fSuppressMap=0;
fdh.fd = ifd;
for (m=0; mode[m]!=0; m++)
{