diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-01-04 18:11:52 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-01-04 18:59:07 +0000 |
commit | 3343e6fe21259e548cb93748f70e81c7255d7ec7 (patch) | |
tree | 8a4b21e77ff9cd4869753addd800e1248ee06b30 /jpeg | |
parent | 80ceaaec2fe06505cb0a5059ad5f95ea28004f9f (diff) | |
download | ghostpdl-3343e6fe21259e548cb93748f70e81c7255d7ec7.tar.gz |
Squash warnings: Use better unused var paradigm.
Using "n = n;" causes some versions of gcc to whinge. Trying
(void)n; instead.
Diffstat (limited to 'jpeg')
-rw-r--r-- | jpeg/jcsample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jpeg/jcsample.c b/jpeg/jcsample.c index 7b0e73120..d11c524a9 100644 --- a/jpeg/jcsample.c +++ b/jpeg/jcsample.c @@ -542,6 +542,6 @@ jinit_downsampler (j_compress_ptr cinfo) if (cinfo->smoothing_factor && !smoothok) TRACEMS(cinfo, 0, JTRC_SMOOTH_NOTIMPL); #else - smoothok = smoothok; /* Stop unused var warnings */ + (void)smoothok; /* Stop unused var warnings */ #endif } |