From eba51299783e484270fda6234df2df60e8f2c71c Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Wed, 21 Mar 2012 18:53:27 -0700 Subject: [PATCH] Quiet unused-result error harder. --- src/rt/rust_stack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rt/rust_stack.cpp b/src/rt/rust_stack.cpp index 0b44575e0f6..279d2b45c60 100644 --- a/src/rt/rust_stack.cpp +++ b/src/rt/rust_stack.cpp @@ -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