summaryrefslogtreecommitdiffstats
path: root/test/tjbench.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tjbench.c')
-rw-r--r--test/tjbench.c3
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())