From 6f9a9160c4006aecfc8ca5248e7e4bf8154aff62 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Wed, 25 Apr 2012 13:36:25 +0200 Subject: Fix some compiler warnings thrown with newer gcc. --- common/turbojpeg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common') 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; -- cgit v1.2.3