summaryrefslogtreecommitdiffstats
path: root/src/aig/nwk/nwkCheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aig/nwk/nwkCheck.c')
-rw-r--r--src/aig/nwk/nwkCheck.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/aig/nwk/nwkCheck.c b/src/aig/nwk/nwkCheck.c
index 6922e439..0890ced8 100644
--- a/src/aig/nwk/nwkCheck.c
+++ b/src/aig/nwk/nwkCheck.c
@@ -41,7 +41,7 @@
***********************************************************************/
int Nwk_ManCheck( Nwk_Man_t * p )
{
- Nwk_Obj_t * pObj;
+ Nwk_Obj_t * pObj, * pNext;
int i, k, m;
// check if the nodes have duplicated fanins
Nwk_ManForEachNode( p, pObj, i )
@@ -51,7 +51,6 @@ int Nwk_ManCheck( Nwk_Man_t * p )
if ( pObj->pFanio[k] == pObj->pFanio[m] )
printf( "Node %d has duplicated fanin %d.\n", pObj->Id, pObj->pFanio[k]->Id );
}
-/*
// check if all nodes are in the correct fanin/fanout relationship
Nwk_ManForEachObj( p, pObj, i )
{
@@ -62,7 +61,6 @@ int Nwk_ManCheck( Nwk_Man_t * p )
if ( Nwk_ObjFindFanin( pNext, pObj ) == -1 )
printf( "Nwk_ManCheck(): Object %d has fanout %d which does not have a corresponding fanin.\n", pObj->Id, pNext->Id );
}
-*/
return 1;
}