From 97b52a6a6d4407ca7df35e06e175fbddbd0bb715 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 8 Oct 2014 10:56:31 -0700 Subject: Compiler warnings. --- src/aig/gia/giaIf.c | 2 +- src/misc/extra/extraUtilThresh.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 ); -- cgit v1.2.3