diff --git a/src/script_opt/Reduce.cc b/src/script_opt/Reduce.cc index aa58cf20fc..bfb53f4aa2 100644 --- a/src/script_opt/Reduce.cc +++ b/src/script_opt/Reduce.cc @@ -224,8 +224,8 @@ bool Reducer::SameOp(const Expr* op1, const Expr* op2) return true; } - else - reporter->InternalError("bad singleton tag"); + reporter->InternalError("bad singleton tag"); + return false; } bool Reducer::SameExpr(const Expr* e1, const Expr* e2)