diff options
author | Christian Beier <dontmind@freeshell.org> | 2012-04-25 13:36:25 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-04-25 13:36:25 +0200 |
commit | 6f9a9160c4006aecfc8ca5248e7e4bf8154aff62 (patch) | |
tree | d431846a3e07b4bf8a71a6934959178392476b49 /common | |
parent | 413ca0dfef83b98f7b230e0596ac086d42eaad4e (diff) | |
download | libvncserver-6f9a9160c4006aecfc8ca5248e7e4bf8154aff62.zip libvncserver-6f9a9160c4006aecfc8ca5248e7e4bf8154aff62.tar.gz |
Fix some compiler warnings thrown with newer gcc.
Diffstat (limited to 'common')
-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; |