summaryrefslogtreecommitdiffstats
path: root/src/base/cba
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-01-16 16:16:32 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2015-01-16 16:16:32 -0800
commit42cc56576b0ab244f0834fc8d80a3ced406576bd (patch)
treea6971ad9a54a7e445c4548bc9fbd32792f8751af /src/base/cba
parentd6d0627d134036b97f81c595ff9316fe2b970a41 (diff)
downloadabc-42cc56576b0ab244f0834fc8d80a3ced406576bd.tar.gz
abc-42cc56576b0ab244f0834fc8d80a3ced406576bd.tar.bz2
abc-42cc56576b0ab244f0834fc8d80a3ced406576bd.zip
Compiler warnings.
Diffstat (limited to 'src/base/cba')
-rw-r--r--src/base/cba/cba.h4
-rw-r--r--src/base/cba/cbaCom.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/base/cba/cba.h b/src/base/cba/cba.h
index 5c13efdc..fa2abc9f 100644
--- a/src/base/cba/cba.h
+++ b/src/base/cba/cba.h
@@ -371,7 +371,7 @@ static inline int Cba_ManMemory( Cba_Man_t * p )
return nMem;
}
-static inline Cba_NtkPrintStats( Cba_Ntk_t * p )
+static inline void Cba_NtkPrintStats( Cba_Ntk_t * p )
{
printf( "%-32s ", Cba_NtkName(p) );
printf( "pi =%5d ", Cba_NtkPiNum(p) );
@@ -381,7 +381,7 @@ static inline Cba_NtkPrintStats( Cba_Ntk_t * p )
printf( "obj =%6d ", Cba_NtkObjNum(p) );
printf( "\n" );
}
-static inline Cba_ManPrintStats( Cba_Man_t * p, int fVerbose )
+static inline void Cba_ManPrintStats( Cba_Man_t * p, int fVerbose )
{
Cba_Ntk_t * pNtk; int i;
Cba_ManForEachNtk( p, pNtk, i )
diff --git a/src/base/cba/cbaCom.c b/src/base/cba/cbaCom.c
index 05f4dfe6..329f1b0a 100644
--- a/src/base/cba/cbaCom.c
+++ b/src/base/cba/cbaCom.c
@@ -481,7 +481,6 @@ int Cba_CommandCec( Abc_Frame_t * pAbc, int argc, char ** argv )
pMiter = Gia_ManMiter( pFirst, pSecond, 0, 1, 0, 0, pPars->fVerbose );
if ( pMiter )
{
- int fDumpMiter = 0;
if ( fDumpMiter )
{
Abc_Print( 0, "The verification miter is written into file \"%s\".\n", "cec_miter.aig" );