diff --git a/vhdlpp/expression_elaborate.cc b/vhdlpp/expression_elaborate.cc index c95a26077..e1cb258f2 100644 --- a/vhdlpp/expression_elaborate.cc +++ b/vhdlpp/expression_elaborate.cc @@ -579,8 +579,6 @@ const VType* ExpArithmetic::resolve_operand_types_(const VType*t1, const VType*t if (t1->type_match(t2)) return t1; - if (t2->type_match(t2)) - return t2; return 0; }