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 /test | |
| parent | 413ca0dfef83b98f7b230e0596ac086d42eaad4e (diff) | |
| download | libtdevnc-6f9a9160c4006aecfc8ca5248e7e4bf8154aff62.tar.gz libtdevnc-6f9a9160c4006aecfc8ca5248e7e4bf8154aff62.zip | |
Fix some compiler warnings thrown with newer gcc.
Diffstat (limited to 'test')
| -rw-r--r-- | test/tjbench.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tjbench.c b/test/tjbench.c index b1f343f..29aa153 100644 --- a/test/tjbench.c +++ b/test/tjbench.c @@ -38,7 +38,8 @@ #define _throw(op, err) { \ printf("ERROR in line %d while %s:\n%s\n", __LINE__, op, err); \ - retval=-1; goto bailout;} + (void)retval; /* silence warning */ \ + retval=-1; goto bailout;} #define _throwunix(m) _throw(m, strerror(errno)) #define _throwtj(m) _throw(m, tjGetErrorStr()) #define _throwbmp(m) _throw(m, bmpgeterr()) |
