mirror of
https://github.com/Z3Prover/z3
synced 2025-05-09 00:35:47 +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
|
@ -739,6 +739,7 @@ public:
|
|||
if (idx2 < idx1) {
|
||||
std::swap(idx1,idx2);
|
||||
}
|
||||
(void) max_idx;
|
||||
SASSERT(idx1 < idx2 && idx2 < edges.size());
|
||||
SASSERT(max_idx < edges.size());
|
||||
dst = get_source(edges[idx2]);
|
||||
|
|
|
@ -1342,6 +1342,7 @@ namespace smt {
|
|||
tout << "v" << x_i << " ";
|
||||
tout << (has_shared?"shared":"not shared") << "\n";);
|
||||
|
||||
(void) empty_column;
|
||||
SASSERT(!safe_gain(min_gain, max_gain) ||
|
||||
empty_column ||
|
||||
(unbounded_gain(max_gain) == (x_i == null_theory_var)));
|
||||
|
|
|
@ -276,6 +276,7 @@ namespace smt {
|
|||
SASSERT(r && bv_sz == m_ebits);
|
||||
r = m_bu.is_numeral(values[2], sig_r, bv_sz);
|
||||
SASSERT(r && bv_sz == m_sbits - 1);
|
||||
(void)r;
|
||||
|
||||
SASSERT(mpzm.is_one(sgn_r.to_mpq().denominator()));
|
||||
SASSERT(mpzm.is_one(exp_r.to_mpq().denominator()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue