From 2e56f44c66739f5deeaddce31cce2c081bd21943 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 22 Jul 2017 11:41:17 +0700 Subject: Compiler warnings. --- src/aig/ivy/ivyDsd.c | 4 ++-- src/aig/ivy/ivyObj.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/aig/ivy') 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)) ) -- cgit v1.2.3