mirror of https://github.com/YosysHQ/abc.git
Compiler warnings.
This commit is contained in:
parent
24f1ca0703
commit
87f0d187bf
|
|
@ -251,7 +251,7 @@ usage:
|
||||||
int Cba_CommandBlast( Abc_Frame_t * pAbc, int argc, char ** argv )
|
int Cba_CommandBlast( Abc_Frame_t * pAbc, int argc, char ** argv )
|
||||||
{
|
{
|
||||||
Cba_Ntk_t * pNtk = Cba_AbcGetNtk(pAbc);
|
Cba_Ntk_t * pNtk = Cba_AbcGetNtk(pAbc);
|
||||||
Vec_Int_t * vBoxIds = NULL;
|
//Vec_Int_t * vBoxIds = NULL;
|
||||||
Gia_Man_t * pNew = NULL;
|
Gia_Man_t * pNew = NULL;
|
||||||
int c, fMulti = 0, fVerbose = 0;
|
int c, fMulti = 0, fVerbose = 0;
|
||||||
Extra_UtilGetoptReset();
|
Extra_UtilGetoptReset();
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ struct Cba_Prs_t_
|
||||||
static inline int Cba_PrsErrorSet( Cba_Prs_t * p, char * pError, int Value )
|
static inline int Cba_PrsErrorSet( Cba_Prs_t * p, char * pError, int Value )
|
||||||
{
|
{
|
||||||
assert( !p->ErrorStr[0] );
|
assert( !p->ErrorStr[0] );
|
||||||
sprintf( p->ErrorStr, pError );
|
sprintf( p->ErrorStr, "%s", pError );
|
||||||
return Value;
|
return Value;
|
||||||
}
|
}
|
||||||
// print error message
|
// print error message
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ int Inter_ManCheckInitialState( Aig_Man_t * p )
|
||||||
Aig_Obj_t * pObj;
|
Aig_Obj_t * pObj;
|
||||||
sat_solver * pSat;
|
sat_solver * pSat;
|
||||||
int i, status;
|
int i, status;
|
||||||
abctime clk = Abc_Clock();
|
//abctime clk = Abc_Clock();
|
||||||
pCnf = Cnf_Derive( p, Saig_ManRegNum(p) );
|
pCnf = Cnf_Derive( p, Saig_ManRegNum(p) );
|
||||||
pSat = (sat_solver *)Cnf_DataWriteIntoSolver( pCnf, 1, 1 );
|
pSat = (sat_solver *)Cnf_DataWriteIntoSolver( pCnf, 1, 1 );
|
||||||
if ( pSat == NULL )
|
if ( pSat == NULL )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue