Suppress warning in valgrind headers: variable set but not used

qbenchmarkvalgrind.cpp:229:5: error: variable '_qzz_res' set but not used [-Werror=unused-but-set-variable]

Change-Id: I3c5896659105650d6d824b10ff3beffbdf494e24
Reviewed-by: Jason McDonald <macadder1@gmail.com>
This commit is contained in:
Thiago Macieira 2012-12-21 19:22:09 -08:00 committed by The Qt Project
parent 0136252cb2
commit 7b54571ec2

View File

@ -259,6 +259,7 @@ typedef
: "cc", "memory" \ : "cc", "memory" \
); \ ); \
_zzq_rlval = _zzq_result; \ _zzq_rlval = _zzq_result; \
(void)_zzq_rlval; \
} }
#define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \ #define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \