diff options
author | Even Rouault <even.rouault@spatialys.com> | 2019-05-22 22:34:27 +0200 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2019-05-22 22:34:27 +0200 |
commit | d2e2b4eeacd574e1b8557038192210c890c68df1 (patch) | |
tree | fc3300636a54109374ab565e504367ae3a2eb018 /test | |
parent | f017d2fae3b079f37cc219bbb9db0691500af17e (diff) | |
download | libtiff-git-d2e2b4eeacd574e1b8557038192210c890c68df1.tar.gz |
test/defer_strile_loading.c: fix warning with Visual C++
Diffstat (limited to 'test')
-rw-r--r-- | test/defer_strile_loading.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/defer_strile_loading.c b/test/defer_strile_loading.c index 54595b25..6f70d538 100644 --- a/test/defer_strile_loading.c +++ b/test/defer_strile_loading.c @@ -45,7 +45,8 @@ int test(int classictif, int height, int tiled) const char* filename = "defer_strile_loading.tif"; TIFF* tif; int i; - int ret; + int ret = 0; + (void)ret; tif = TIFFOpen(filename, classictif ? "wDO" : "w8DO"); /* O should be ignored in write mode */ if(!tif) |