summaryrefslogtreecommitdiff
path: root/jpeg/jcsample.c
diff options
context:
space:
mode:
Diffstat (limited to 'jpeg/jcsample.c')
-rw-r--r--jpeg/jcsample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/jpeg/jcsample.c b/jpeg/jcsample.c
index 4d36f85f3..7b0e73120 100644
--- a/jpeg/jcsample.c
+++ b/jpeg/jcsample.c
@@ -541,5 +541,7 @@ jinit_downsampler (j_compress_ptr cinfo)
#ifdef INPUT_SMOOTHING_SUPPORTED
if (cinfo->smoothing_factor && !smoothok)
TRACEMS(cinfo, 0, JTRC_SMOOTH_NOTIMPL);
+#else
+ smoothok = smoothok; /* Stop unused var warnings */
#endif
}