mirror of
https://github.com/Z3Prover/z3
synced 2025-06-16 02:46:16 +00:00
removing warnings for unused variables, #579
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
09b8c0e7fa
commit
cc3bfe8da2
3 changed files with 6 additions and 10 deletions
|
@ -3545,10 +3545,9 @@ namespace smt {
|
|||
//
|
||||
// Since we only care about q (and its bindings), it only makes sense to restrict the variables of q.
|
||||
bool asserted_something = false;
|
||||
quantifier * flat_q = get_flat_quantifier(q);
|
||||
unsigned num_decls = q->get_num_decls();
|
||||
// Remark: sks were created for the flat version of q.
|
||||
SASSERT(flat_q->get_num_decls() == sks.size());
|
||||
SASSERT(get_flat_quantifier(q)->get_num_decls() == sks.size());
|
||||
SASSERT(sks.size() >= num_decls);
|
||||
for (unsigned i = 0; i < num_decls; i++) {
|
||||
expr * sk = sks.get(num_decls - i - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue