summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/aig/gia/giaIf.c2
-rw-r--r--src/misc/extra/extraUtilThresh.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/gia/giaIf.c b/src/aig/gia/giaIf.c
index 131dfd11..1b16c299 100644
--- a/src/aig/gia/giaIf.c
+++ b/src/aig/gia/giaIf.c
@@ -1495,7 +1495,7 @@ Gia_Man_t * Gia_ManFromIfLogic( If_Man_t * pIfMan )
Vec_Int_t * vPiVars = NULL, * vPoVars = NULL;
sat_solver * pSat = NULL;
Ifn_Ntk_t * pNtkCell = NULL;
- int i, k, nLutMax, Entry;
+ int i, k, nLutMax = -1, Entry;
assert( !pIfMan->pPars->fDeriveLuts || pIfMan->pPars->fTruth );
// if ( pIfMan->pPars->fEnableCheck07 )
// pIfMan->pPars->fDeriveLuts = 0;
diff --git a/src/misc/extra/extraUtilThresh.c b/src/misc/extra/extraUtilThresh.c
index 88752b7d..478e025c 100644
--- a/src/misc/extra/extraUtilThresh.c
+++ b/src/misc/extra/extraUtilThresh.c
@@ -282,7 +282,7 @@ int Extra_ThreshSelectWeights( 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) )
return 0;
Abc_TtMakePosUnate( t, nVars );