Quiet unused-result error harder.

This commit is contained in:
Graydon Hoare 2012-03-21 18:53:27 -07:00
parent 38f0a2e992
commit eba5129978

View File

@ -24,7 +24,7 @@ reuse_valgrind_stack(stk_seg *stk, uint8_t *sp) {
assert(sp >= stk->data && sp <= (uint8_t*) stk->end
&& "Stack pointer must be inside stack segment");
size_t sz = stk->end - (uintptr_t)sp;
VALGRIND_MAKE_MEM_UNDEFINED(sp, sz);
(void) VALGRIND_MAKE_MEM_UNDEFINED(sp, sz);
}
void