mirror of https://github.com/YosysHQ/abc.git
Compiler warning.
This commit is contained in:
parent
b8db17b478
commit
7b419f9041
|
|
@ -356,7 +356,7 @@ void Wlc_NtkCheckIntegrity( void * pData )
|
|||
int Type = Ndr_ObjReadBody( p, Obj, NDR_OPERTYPE );
|
||||
int i, * pArray, nArray = Ndr_ObjReadArray( p, Obj, NDR_INPUT, &pArray );
|
||||
for ( i = 0; i < nArray; i++ )
|
||||
if ( Vec_IntGetEntry(vMap, pArray[i]) == 0 && !(Type == ABC_OPER_DFFRSE && (i >= 5 || i <= 7)) )
|
||||
if ( Vec_IntGetEntry(vMap, pArray[i]) == 0 && !(Type == ABC_OPER_DFFRSE && (i >= 5 && i <= 7)) )
|
||||
printf( "Input name %d appearing as fanin %d of obj %d is not used as output name in any object.\n", pArray[i], i, Obj );
|
||||
}
|
||||
Vec_IntFree( vMap );
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ void Wln_NtkCheckIntegrity( void * pData )
|
|||
int Type = Ndr_ObjReadBody( p, Obj, NDR_OPERTYPE );
|
||||
int i, * pArray, nArray = Ndr_ObjReadArray( p, Obj, NDR_INPUT, &pArray );
|
||||
for ( i = 0; i < nArray; i++ )
|
||||
if ( Vec_IntGetEntry(vMap, pArray[i]) == 0 && !(Type == ABC_OPER_DFFRSE && (i >= 5 || i <= 7)) )
|
||||
if ( Vec_IntGetEntry(vMap, pArray[i]) == 0 && !(Type == ABC_OPER_DFFRSE && (i >= 5 && i <= 7)) )
|
||||
printf( "Input name %d appearing as fanin %d of obj %d is not used as output name in any object.\n", pArray[i], i, Obj );
|
||||
}
|
||||
Vec_IntFree( vMap );
|
||||
|
|
|
|||
Loading…
Reference in New Issue