diff options
author | Bruno Schmitt <bruno@oschmitt.com> | 2017-10-24 23:03:32 +0200 |
---|---|---|
committer | Bruno Schmitt <bruno@oschmitt.com> | 2017-10-24 23:03:32 +0200 |
commit | 50e17ae0f444aadee3621ef5f0c68eb386755cf6 (patch) | |
tree | a5b66e4852290da83bdb528dbba89d78b6303fec | |
parent | accf4825e586cb8b3444551a1145ae4d88662f82 (diff) | |
download | abc-50e17ae0f444aadee3621ef5f0c68eb386755cf6.tar.gz abc-50e17ae0f444aadee3621ef5f0c68eb386755cf6.tar.bz2 abc-50e17ae0f444aadee3621ef5f0c68eb386755cf6.zip |
Small fix. Garanteeing pPars is not NULL before checking pPars->fSlacks
-rw-r--r-- | src/aig/gia/giaMan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aig/gia/giaMan.c b/src/aig/gia/giaMan.c index 83254756..6ff822c3 100644 --- a/src/aig/gia/giaMan.c +++ b/src/aig/gia/giaMan.c @@ -557,7 +557,7 @@ void Gia_ManPrintStats( Gia_Man_t * p, Gps_Par_t * pPars ) */ Gia_ManPrintTents( p ); } - if ( pPars->fSlacks ) + if ( pPars && pPars->fSlacks ) Gia_ManDfsSlacksPrint( p ); } |