diff options
-rw-r--r-- | src/aig/gia/giaAbsGla.c | 3 | ||||
-rw-r--r-- | src/aig/gia/giaAbsVta.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/aig/gia/giaAbsGla.c b/src/aig/gia/giaAbsGla.c index 723a7dd7..0cd0b300 100644 --- a/src/aig/gia/giaAbsGla.c +++ b/src/aig/gia/giaAbsGla.c @@ -1716,7 +1716,8 @@ void Gia_GlaSendCancel( Gla_Man_t * p, int fVerbose ) ***********************************************************************/ void Gia_GlaDumpAbsracted( Gla_Man_t * p, int fVerbose ) { - char * pFileName = p->pPars->pFileVabs ? p->pPars->pFileVabs : "glabs.aig"; + char * pFileNameDef = "glabs.aig"; + char * pFileName = p->pPars->pFileVabs ? p->pPars->pFileVabs : pFileNameDef; Gia_Man_t * pAbs; Vec_Int_t * vGateClasses; if ( fVerbose ) diff --git a/src/aig/gia/giaAbsVta.c b/src/aig/gia/giaAbsVta.c index 11c84853..59bcbb32 100644 --- a/src/aig/gia/giaAbsVta.c +++ b/src/aig/gia/giaAbsVta.c @@ -1475,7 +1475,8 @@ void Gia_VtaSendCancel( Vta_Man_t * p, int fVerbose ) ***********************************************************************/ void Gia_VtaDumpAbsracted( Vta_Man_t * p, int fVerbose ) { - char * pFileName = p->pPars->pFileVabs ? p->pPars->pFileVabs : "vabs.aig"; + char * pFileNameDef = "vabs.aig"; + char * pFileName = p->pPars->pFileVabs ? p->pPars->pFileVabs : pFileNameDef; Gia_Man_t * pAbs; if ( fVerbose ) Abc_Print( 1, "Dumping abstracted model into file \"%s\"...\n", pFileName ); |