Commit 97b52a6a by Alan Mishchenko

Compiler warnings.

parent df0f8ad5
...@@ -1495,7 +1495,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan ) ...@@ -1495,7 +1495,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
Vec_Int_t * vPiVars = NULL, * vPoVars = NULL; Vec_Int_t * vPiVars = NULL, * vPoVars = NULL;
sat_solver * pSat = NULL; sat_solver * pSat = NULL;
Ifn_Ntk_t * pNtkCell = NULL; Ifn_Ntk_t * pNtkCell = NULL;
int i, k, nLutMax, Entry; int i, k, nLutMax = -1, Entry;
assert( !pIfMan->pPars->fDeriveLuts || pIfMan->pPars->fTruth ); assert( !pIfMan->pPars->fDeriveLuts || pIfMan->pPars->fTruth );
// if ( pIfMan->pPars->fEnableCheck07 ) // if ( pIfMan->pPars->fEnableCheck07 )
// pIfMan->pPars->fDeriveLuts = 0; // pIfMan->pPars->fDeriveLuts = 0;
......
...@@ -282,7 +282,7 @@ int Extra_ThreshSelectWeights( word * t, int nVars, int * pW ) ...@@ -282,7 +282,7 @@ int Extra_ThreshSelectWeights( word * t, int nVars, int * pW )
} }
int Extra_ThreshCheck( word * t, int nVars, int * pW ) int Extra_ThreshCheck( word * t, int nVars, int * pW )
{ {
int Chow[16], Chow0, nMints = (1 << nVars); int Chow0, Chow[16];
if ( !Abc_TtIsUnate(t, nVars) ) if ( !Abc_TtIsUnate(t, nVars) )
return 0; return 0;
Abc_TtMakePosUnate( t, nVars ); Abc_TtMakePosUnate( t, nVars );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment