diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-10-28 23:53:17 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-10-28 23:53:17 -0700 |
commit | 135bf3ecdf6609d4c8e97727cb3c8ad8042a6b4c (patch) | |
tree | 125bcd8c87686becd6f492c775a37c2fe83f6d3d /src/aig/ivy | |
parent | c556baa92eb9973b1d181177557cfb9025196a92 (diff) | |
download | abc-135bf3ecdf6609d4c8e97727cb3c8ad8042a6b4c.tar.gz abc-135bf3ecdf6609d4c8e97727cb3c8ad8042a6b4c.tar.bz2 abc-135bf3ecdf6609d4c8e97727cb3c8ad8042a6b4c.zip |
Compiler warnings.
Diffstat (limited to 'src/aig/ivy')
-rw-r--r-- | src/aig/ivy/ivyRwr.c | 2 | ||||
-rw-r--r-- | src/aig/ivy/ivySeq.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/ivy/ivyRwr.c b/src/aig/ivy/ivyRwr.c index a4bfe54b..30bff58f 100644 --- a/src/aig/ivy/ivyRwr.c +++ b/src/aig/ivy/ivyRwr.c @@ -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++; diff --git a/src/aig/ivy/ivySeq.c b/src/aig/ivy/ivySeq.c index c231dea6..0ffe2d15 100644 --- a/src/aig/ivy/ivySeq.c +++ b/src/aig/ivy/ivySeq.c @@ -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++; |