diff options
Diffstat (limited to 'common/turbojpeg.c')
-rw-r--r-- | common/turbojpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/turbojpeg.c b/common/turbojpeg.c index b3877ec..f7b9245 100644 --- a/common/turbojpeg.c +++ b/common/turbojpeg.c @@ -108,6 +108,7 @@ static const tjscalingfactor sf[NUMSF]={ retval=-1; goto bailout;} #define getinstance(handle) tjinstance *this=(tjinstance *)handle; \ j_compress_ptr cinfo=NULL; j_decompress_ptr dinfo=NULL; \ + (void) cinfo; (void) dinfo; /* silence warnings */ \ if(!this) {snprintf(errStr, JMSG_LENGTH_MAX, "Invalid handle"); \ return -1;} \ cinfo=&this->cinfo; dinfo=&this->dinfo; |