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/map/if/ifDec16.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/if/ifDec16.c') diff --git a/src/map/if/ifDec16.c b/src/map/if/ifDec16.c index 4b555bf8..b6591da9 100644 --- a/src/map/if/ifDec16.c +++ b/src/map/if/ifDec16.c @@ -977,9 +977,9 @@ int If_CluCountCofs( word * pF, int nVars, int nBSsize, int iShift, word pCofs[3 // return the number of cofactors w.r.t. the topmost vars (nBSsize) int If_CluCountCofs4( word * pF, int nVars, int nBSsize, word pCofs[6][CLU_WRD_MAX/4] ) { - word iCofs[128], iCof, Result0 = 0, Result1 = 0; + word iCofs[128] = {0}, iCof, Result0 = 0, Result1 = 0; int nMints = (1 << nBSsize); - int i, c, nCofs; + int i, c, nCofs = 0; assert( pCofs ); assert( nBSsize >= 2 && nBSsize <= 6 && nBSsize < nVars ); if ( nVars - nBSsize < 6 ) -- cgit v1.2.3