From: Clifford Wolf Date: Fri, 27 Dec 2013 14:15:20 +0000 (+0100) Subject: Small cleanup in SatGen X-Git-Tag: yosys-0.2.0~222 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f5ab7649e4496b1923cad6f093c735a2350fdc8;p=yosys.git Small cleanup in SatGen --- diff --git a/kernel/satgen.h b/kernel/satgen.h index 8fb8e818a..67312f440 100644 --- a/kernel/satgen.h +++ b/kernel/satgen.h @@ -161,7 +161,6 @@ struct SatGen { bool arith_undef_handled = false; bool is_arith_compare = cell->type == "$lt" || cell->type == "$le" || cell->type == "$ge" || cell->type == "$gt"; - int arith_undef_result = ez->FALSE; if (model_undef && (cell->type == "$add" || cell->type == "$sub" || cell->type == "$mul" || cell->type == "$div" || cell->type == "$mod" || is_arith_compare)) { @@ -191,7 +190,6 @@ struct SatGen ez->assume(ez->vec_eq(undef_y_bits, undef_y)); } - arith_undef_result = undef_y_bit; arith_undef_handled = true; }