From 964170d8dc5d944d760ae3b3224361f1e4d05fe1 Mon Sep 17 00:00:00 2001 From: Ethan Mahintorabi Date: Mon, 10 Feb 2025 05:44:31 +0000 Subject: [PATCH] Fixes missing return in cec Signed-off-by: Ethan Mahintorabi --- src/proof/cec/cecSatG2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/proof/cec/cecSatG2.c b/src/proof/cec/cecSatG2.c index 1b0948de1..c95492e28 100644 --- a/src/proof/cec/cecSatG2.c +++ b/src/proof/cec/cecSatG2.c @@ -3468,7 +3468,9 @@ int check_implication( Gia_Man_t * p, int ObjId , int validBit , int fanoutValue } assert(0); - + // In C++ assert(0) doesn't count as a proper exit. + // needs to return a value to compile. + return -1; }