Skip to content

Commit efa3c0f

Browse files
author
Christoph M. Wintersteiger
committed
Fix compiler warnings
1 parent 823bf31 commit efa3c0f

File tree

4 files changed

+208
-216
lines changed

4 files changed

+208
-216
lines changed

src/ast/for_each_expr.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ unsigned get_num_exprs(expr * n) {
4545
}
4646

4747
namespace has_skolem_functions_ns {
48-
struct found {};
48+
struct found {};
4949
struct proc {
5050
void operator()(var * n) const {}
5151
void operator()(app const * n) const { if (n->get_decl()->is_skolem() && n->get_num_args() > 0) throw found(); }
@@ -148,11 +148,10 @@ void subterms_postorder::iterator::next() {
148148
break;
149149
}
150150
}
151-
151+
152152
}
153153

154154
subterms_postorder::iterator& subterms_postorder::iterator::operator++() {
155-
expr* e = m_es.back();
156155
next();
157156
return *this;
158157
}
@@ -172,4 +171,3 @@ bool subterms_postorder::iterator::operator==(iterator const& other) const {
172171
bool subterms_postorder::iterator::operator!=(iterator const& other) const {
173172
return !(*this == other);
174173
}
175-

0 commit comments

Comments
 (0)