3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-13 10:44:43 +00:00

fix unused-but-set-variable warnings reported in #579

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-05-18 11:02:10 -07:00
parent 9aaee8616a
commit 3a6e6df4f5
11 changed files with 19 additions and 8 deletions

View file

@ -52,6 +52,7 @@ namespace sat {
bool clause::check_approx() const {
var_approx_set curr = m_approx;
(void)curr;
const_cast<clause*>(this)->update_approx();
SASSERT(may_eq(curr, m_approx));
return true;