summaryrefslogtreecommitdiff
path: root/libtiff/tif_ojpeg.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-12 19:42:14 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-10-12 19:45:51 +0200
commitc4aa76401b8f255c59119fcc0a1245cd3c3bedbe (patch)
tree2be5d8df3a2f6c549a977ba01cd0a0276b627943 /libtiff/tif_ojpeg.c
parent3279b005007a07f483df36d5e182ef02e34b2c88 (diff)
downloadlibtiff-git-c4aa76401b8f255c59119fcc0a1245cd3c3bedbe.tar.gz
Fix compiler warnings about unused variables when assert() expands to nothing
Diffstat (limited to 'libtiff/tif_ojpeg.c')
-rw-r--r--libtiff/tif_ojpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtiff/tif_ojpeg.c b/libtiff/tif_ojpeg.c
index c2d814f0..133d1f1c 100644
--- a/libtiff/tif_ojpeg.c
+++ b/libtiff/tif_ojpeg.c
@@ -421,6 +421,7 @@ TIFFInitOJPEG(TIFF* tif, int scheme)
static const char module[]="TIFFInitOJPEG";
OJPEGState* sp;
+ (void)scheme;
assert(scheme==COMPRESSION_OJPEG);
/*