From d3179fdd7bbae5f3632474b4469f5840a78f2812 Mon Sep 17 00:00:00 2001 From: JingrenWang Date: Wed, 5 Nov 2025 12:48:13 +0800 Subject: [PATCH] Refactor(Cut): Explicit Comp Signed-off-by: JingrenWang --- src/opt/cut/abcCut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opt/cut/abcCut.c b/src/opt/cut/abcCut.c index 56918f01ce..0f3d0396c8 100644 --- a/src/opt/cut/abcCut.c +++ b/src/opt/cut/abcCut.c @@ -324,7 +324,7 @@ printf( "Converged after %d iterations.\n", nIters ); void * Abc_NodeGetCutsRecursive( void * p, Abc_Obj_t * pObj, int fDag, int fTree ) { void * pList; - if ( pList = Abc_NodeReadCuts( p, pObj ) ) + if ( (pList = Abc_NodeReadCuts( p, pObj )) != NULL ) return pList; Abc_NodeGetCutsRecursive( p, Abc_ObjFanin0(pObj), fDag, fTree ); Abc_NodeGetCutsRecursive( p, Abc_ObjFanin1(pObj), fDag, fTree );