Commit 135bf3ec by Alan Mishchenko

Compiler warnings.

parent c556baa9
......@@ -163,7 +163,7 @@ int Ivy_NodeRewrite( Ivy_Man_t * pMan, Rwt_Man_t * p, Ivy_Obj_t * pNode, int fUp
char * pPerm;
int Required, nNodesSaved;
int nNodesSaveCur = -1; // Suppress "might be used uninitialized"
int i, c, GainCur, GainBest = -1;
int i, c, GainCur = -1, GainBest = -1;
abctime clk, clk2;
p->nNodesConsidered++;
......
......@@ -156,7 +156,7 @@ int Ivy_NodeRewriteSeq( Ivy_Man_t * pMan, Rwt_Man_t * p, Ivy_Obj_t * pNode, int
char * pPerm;
int nNodesSaved;
int nNodesSaveCur = -1; // Suppress "might be used uninitialized"
int i, c, GainCur, GainBest = -1;
int i, c, GainCur = -1, GainBest = -1;
abctime clk, clk2;//, clk3;
p->nNodesConsidered++;
......
......@@ -1430,4 +1430,4 @@ void Abc_NtkRecStop3()
////////////////////////////////////////////////////////////////////////
ABC_NAMESPACE_IMPL_END
\ No newline at end of file
ABC_NAMESPACE_IMPL_END
......@@ -380,4 +380,4 @@ Literal_t* Rpo_Recursion(unsigned* target, Literal_t** vecLit, int nLit, int nLi
return result;
}
ABC_NAMESPACE_IMPL_END
\ No newline at end of file
ABC_NAMESPACE_IMPL_END
......@@ -55,4 +55,5 @@ ABC_NAMESPACE_HEADER_END
#endif
\ No newline at end of file
......@@ -402,7 +402,7 @@ static inline int Abc_SuppCountOnes64( word i )
}
int Abc_SuppFindVar( Vec_Wec_t * pS, Vec_Wec_t * pD, int nVars )
{
int v, vBest = -1, dBest;
int v, vBest = -1, dBest = -1;
for ( v = 0; v < nVars; v++ )
{
if ( Vec_WecLevelSize(pS, v) )
......
......@@ -68,7 +68,7 @@ int Rwr_NodeRewrite( Rwr_Man_t * p, Cut_Man_t * pManCut, Abc_Obj_t * pNode, int
char * pPerm;
int Required, nNodesSaved;
int nNodesSaveCur = -1; // Suppress "might be used uninitialized"
int i, GainCur, GainBest = -1;
int i, GainCur = -1, GainBest = -1;
abctime clk, clk2;//, Counter;
p->nNodesConsidered++;
......
......@@ -211,8 +211,8 @@ static void sat_solver_act_var_clear(sat_solver* s)
{
int i;
for (i = 0; i < s->size; i++)
s->activity[i] = 0.0;
s->var_inc = 1.0;
s->activity[i] = 0;
s->var_inc = 1;
}
static void sat_solver_compress(sat_solver* s)
{
......
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