From 3faf345fa77c92f91e18f007f95b4ffa0758c17b Mon Sep 17 00:00:00 2001 From: Tim King Date: Fri, 26 Jan 2018 16:29:16 -0800 Subject: Removing structurally dead code. (#1540) --- src/theory/arith/arith_ite_utils.cpp | 1 - src/theory/arith/arith_rewriter.cpp | 2 -- 2 files changed, 3 deletions(-) (limited to 'src/theory/arith') 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()); } } -- cgit v1.2.3