summaryrefslogtreecommitdiffstats
path: root/src/map
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-10-08 10:52:32 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-10-08 10:52:32 -0700
commit141c1de0a278bcb18070f2d6e3edfc0b927436fb (patch)
tree1914a9d900ed118602548a95442285d67ec7af44 /src/map
parente4d58876714197bc3597846bf3224c0cdf8b1c66 (diff)
downloadabc-141c1de0a278bcb18070f2d6e3edfc0b927436fb.tar.gz
abc-141c1de0a278bcb18070f2d6e3edfc0b927436fb.tar.bz2
abc-141c1de0a278bcb18070f2d6e3edfc0b927436fb.zip
Compiler warnings.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/if/ifDsd.c2
-rw-r--r--src/map/if/ifTune.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/map/if/ifDsd.c b/src/map/if/ifDsd.c
index cfccc362..f9f25437 100644
--- a/src/map/if/ifDsd.c
+++ b/src/map/if/ifDsd.c
@@ -2754,6 +2754,8 @@ void Id_DsdManTuneThresh( If_DsdMan_t * p, int fUnate, int fThresh, int fVerbose
Value = Abc_TtIsUnate( pTruth, nVars );
else if ( fThresh )
Value = Extra_ThreshCheck( pTruth, nVars, pW );
+ else
+ Value = 0;
Perm = 0;
if ( fVeryVerbose )
printf( "\n" );
diff --git a/src/map/if/ifTune.c b/src/map/if/ifTune.c
index defafcb4..f87d7c11 100644
--- a/src/map/if/ifTune.c
+++ b/src/map/if/ifTune.c
@@ -740,7 +740,7 @@ int If_ManSatDeriveGiaFromBits( void * pGia, Ifn_Ntk_t * p, Vec_Int_t * vValues,
int Type = p->Nodes[i].Type;
int nFans = p->Nodes[i].nFanins;
int * pFans = p->Nodes[i].Fanins;
- int iFanin = p->Nodes[i].iFirst;
+ //int iFanin = p->Nodes[i].iFirst;
assert( nFans <= 6 );
if ( Type == IFN_DSD_AND )
{