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:
parent
9aaee8616a
commit
3a6e6df4f5
11 changed files with 19 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue