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:
parent
0136252cb2
commit
7b54571ec2
1
src/testlib/3rdparty/valgrind_p.h
vendored
1
src/testlib/3rdparty/valgrind_p.h
vendored
@ -259,6 +259,7 @@ typedef
|
||||
: "cc", "memory" \
|
||||
); \
|
||||
_zzq_rlval = _zzq_result; \
|
||||
(void)_zzq_rlval; \
|
||||
}
|
||||
|
||||
#define VALGRIND_GET_NR_CONTEXT(_zzq_rlval) \
|
||||
|
Loading…
Reference in New Issue
Block a user