mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Quiet unused-result error harder.
This commit is contained in:
parent
38f0a2e992
commit
eba5129978
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user