mirror of https://github.com/YosysHQ/abc.git
Merge pull request #37 from YosysHQ/povik/fix-mfs-ub
Fix UB in `&mfs -r` print
This commit is contained in:
commit
8700bb58ee
|
|
@ -518,7 +518,7 @@ Gia_Man_t * Gia_ManPerformMfs( Gia_Man_t * p, Sfm_Par_t * pPars )
|
||||||
{
|
{
|
||||||
Sfm_Ntk_t * pNtk;
|
Sfm_Ntk_t * pNtk;
|
||||||
Gia_Man_t * pNew;
|
Gia_Man_t * pNew;
|
||||||
int nFaninMax, nNodes;
|
int nFaninMax, nNodes = 0;
|
||||||
assert( Gia_ManRegNum(p) == 0 );
|
assert( Gia_ManRegNum(p) == 0 );
|
||||||
assert( p->vMapping != NULL );
|
assert( p->vMapping != NULL );
|
||||||
if ( p->pManTime != NULL && p->pAigExtra != NULL && Gia_ManCiNum(p->pAigExtra) > 15 )
|
if ( p->pManTime != NULL && p->pAigExtra != NULL && Gia_ManCiNum(p->pAigExtra) > 15 )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue