From 1527c8a33b05d26fd21d6bac946ff453d225b381 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Tue, 3 Oct 2017 19:58:16 +0100 Subject: Silenced some warnings about unused variables when assertions are disabled. --- lib/Core/ImpliedValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Core/ImpliedValue.cpp') diff --git a/lib/Core/ImpliedValue.cpp b/lib/Core/ImpliedValue.cpp index c8342df1..90000683 100644 --- a/lib/Core/ImpliedValue.cpp +++ b/lib/Core/ImpliedValue.cpp @@ -231,7 +231,7 @@ void ImpliedValue::checkForImpliedValues(Solver *S, ref e, ie = reads.end(); i != ie; ++i) { ref var = *i; ref possible; - bool success = S->getValue(Query(assume, var), possible); + bool success = S->getValue(Query(assume, var), possible); (void) success; assert(success && "FIXME: Unhandled solver failure"); std::map, ref >::iterator it = found.find(var); bool res; -- cgit 1.4.1