summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2018-01-26 16:29:16 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2018-01-26 16:29:16 -0800
commit3faf345fa77c92f91e18f007f95b4ffa0758c17b (patch)
treec742d8f1d426c45b4cfaf5aa36caebe9cbf5dd2e /src/theory/arith
parentd738a7dab46a2a399294f7f15c343a557c13b860 (diff)
Removing structurally dead code. (#1540)
Diffstat (limited to 'src/theory/arith')
-rw-r--r--src/theory/arith/arith_ite_utils.cpp1
-rw-r--r--src/theory/arith/arith_rewriter.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/theory/arith/arith_ite_utils.cpp b/src/theory/arith/arith_ite_utils.cpp
index 3e767b6db..c67af2a5d 100644
--- a/src/theory/arith/arith_ite_utils.cpp
+++ b/src/theory/arith/arith_ite_utils.cpp
@@ -138,7 +138,6 @@ Node ArithIteUtils::reduceVariablesInItes(Node n){
break;
}
Unreachable();
- return Node::null();
}
ArithIteUtils::ArithIteUtils(ContainsTermITEVisitor& contains,
diff --git a/src/theory/arith/arith_rewriter.cpp b/src/theory/arith/arith_rewriter.cpp
index b47cb1e60..b862e7604 100644
--- a/src/theory/arith/arith_rewriter.cpp
+++ b/src/theory/arith/arith_rewriter.cpp
@@ -592,7 +592,6 @@ RewriteResponse ArithRewriter::postRewrite(TNode t){
return response;
}else{
Unreachable();
- return RewriteResponse(REWRITE_DONE, Node::null());
}
}
@@ -603,7 +602,6 @@ RewriteResponse ArithRewriter::preRewrite(TNode t){
return preRewriteAtom(t);
}else{
Unreachable();
- return RewriteResponse(REWRITE_DONE, Node::null());
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback