mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05:51 +00:00
compiler warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
359ee818a5
commit
e47cd27c8d
5 changed files with 7 additions and 7 deletions
|
@ -2080,16 +2080,15 @@ namespace smt {
|
|||
*/
|
||||
enode_vector * interpreter::mk_depth1_vector(enode * n, func_decl * f, unsigned i) {
|
||||
enode_vector * v = mk_enode_vector();
|
||||
unsigned num_args = n->get_num_args();
|
||||
n = n->get_root();
|
||||
enode_vector::const_iterator it = n->begin_parents();
|
||||
enode_vector::const_iterator end = n->end_parents();
|
||||
for (; it != end; ++it) {
|
||||
enode * p = *it;
|
||||
if (p->get_decl() == f &&
|
||||
i < p->get_num_args() &&
|
||||
m_context.is_relevant(p) &&
|
||||
p->is_cgr() &&
|
||||
i < p->get_num_args() &&
|
||||
p->get_arg(i)->get_root() == n) {
|
||||
v->push_back(p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue