Skip to content

Commit a44cf7a

Browse files
unused variable warnings
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 5919bc0 commit a44cf7a

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/smt/theory_datatype.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,6 @@ namespace smt {
565565

566566
// start exploring subgraph below `app`
567567
bool theory_datatype::occurs_check_enter(enode * app) {
568-
context& ctx = get_context();
569568
app = app->get_root();
570569
theory_var v = app->get_th_var(get_id());
571570
if (v == null_theory_var) {
@@ -759,7 +758,6 @@ namespace smt {
759758
SASSERT(d->m_constructor);
760759
func_decl * c_decl = d->m_constructor->get_decl();
761760
datatype_value_proc * result = alloc(datatype_value_proc, c_decl);
762-
unsigned num = d->m_constructor->get_num_args();
763761
for (enode* arg : enode::args(d->m_constructor)) {
764762
result->add_dependency(arg);
765763
}

src/tactic/fd_solver/smtfd_solver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,6 @@ namespace smtfd {
860860
Enforce M[x] == rewrite(M[x]) for every A[x] such that M = A under current model.
861861
*/
862862
void beta_reduce(expr* t) {
863-
bool added = false;
864863
if (m_autil.is_map(t) ||
865864
m_autil.is_const(t) ||
866865
is_lambda(t)) {

0 commit comments

Comments
 (0)