summaryrefslogtreecommitdiffstats
path: root/src/aig/ivy
diff options
context:
space:
mode:
Diffstat (limited to 'src/aig/ivy')
-rw-r--r--src/aig/ivy/ivyDsd.c4
-rw-r--r--src/aig/ivy/ivyObj.c2
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)) )