diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-07-22 11:41:17 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-07-22 11:41:17 +0700 |
commit | 2e56f44c66739f5deeaddce31cce2c081bd21943 (patch) | |
tree | dd701099fab9dfd63c23fa2f3f883f6486e53a99 /src/aig/ivy | |
parent | 66af4ae6d16d818f8a12a4b19d2a28aef1a708a7 (diff) | |
download | abc-2e56f44c66739f5deeaddce31cce2c081bd21943.tar.gz abc-2e56f44c66739f5deeaddce31cce2c081bd21943.tar.bz2 abc-2e56f44c66739f5deeaddce31cce2c081bd21943.zip |
Compiler warnings.
Diffstat (limited to 'src/aig/ivy')
-rw-r--r-- | src/aig/ivy/ivyDsd.c | 4 | ||||
-rw-r--r-- | src/aig/ivy/ivyObj.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/aig/ivy/ivyDsd.c b/src/aig/ivy/ivyDsd.c index 5a1deb03..78a935be 100644 --- a/src/aig/ivy/ivyDsd.c +++ b/src/aig/ivy/ivyDsd.c @@ -219,8 +219,8 @@ int Ivy_TruthDsd( unsigned uTruth, Vec_Int_t * vTree ) int Ivy_TruthDecompose_rec( unsigned uTruth, Vec_Int_t * vTree ) { Ivy_Dec_t Node; - int Supp[5], Vars0[5], Vars1[5], Vars2[5], * pVars; - int nSupp, Count0, Count1, Count2, nVars, RetValue, fCompl, i; + int Supp[5], Vars0[5], Vars1[5], Vars2[5], * pVars = NULL; + int nSupp, Count0, Count1, Count2, nVars = 0, RetValue, fCompl = 0, i; unsigned uTruthCof, uCof0, uCof1; // get constant confactors diff --git a/src/aig/ivy/ivyObj.c b/src/aig/ivy/ivyObj.c index 2829fd38..527f4daf 100644 --- a/src/aig/ivy/ivyObj.c +++ b/src/aig/ivy/ivyObj.c @@ -441,7 +441,7 @@ void Ivy_ObjReplace( Ivy_Man_t * p, Ivy_Obj_t * pObjOld, Ivy_Obj_t * pObjNew, in ***********************************************************************/ void Ivy_NodeFixBufferFanins( Ivy_Man_t * p, Ivy_Obj_t * pNode, int fUpdateLevel ) { - Ivy_Obj_t * pFanReal0, * pFanReal1, * pResult; + Ivy_Obj_t * pFanReal0, * pFanReal1, * pResult = NULL; if ( Ivy_ObjIsPo(pNode) ) { if ( !Ivy_ObjIsBuf(Ivy_ObjFanin0(pNode)) ) |