diff options
author | Roger Leigh <rleigh@codelibre.net> | 2021-02-04 22:20:49 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2021-02-06 13:40:32 +0000 |
commit | a9eba2fb70448063d07392b4454072543481491a (patch) | |
tree | cbc6b383dbc31084fe25da27e4b602c56ebbf941 | |
parent | 145eb81dc87441e400f2bdaf7b873c429ce8c768 (diff) | |
download | libtiff-git-a9eba2fb70448063d07392b4454072543481491a.tar.gz |
Suppress potential unused variable warning
-rw-r--r-- | tools/tiff2pdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c index 6e956da4..0566c4ad 100644 --- a/tools/tiff2pdf.c +++ b/tools/tiff2pdf.c @@ -1015,6 +1015,7 @@ void t2p_free(T2P* t2p) */ void t2p_validate(T2P* t2p){ + (void) t2p; #ifdef JPEG_SUPPORT if(t2p->pdf_defaultcompression==T2P_COMPRESS_JPEG){ @@ -1043,7 +1044,6 @@ void t2p_validate(T2P* t2p){ if(t2p->pdf_minorversion<2){t2p->pdf_minorversion=2;} } #endif - (void)0; return; } |