summaryrefslogtreecommitdiffstats
path: root/src/opt
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-09-30 14:40:07 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-09-30 14:40:07 -0700
commit50da7c290c5547572f1093e4df087f4a0b89e346 (patch)
tree85af655e9dc0127994d280ca144a2c4604fdb26e /src/opt
parentf5be1575832e2028eed0942aa69315870532669e (diff)
downloadabc-50da7c290c5547572f1093e4df087f4a0b89e346.tar.gz
abc-50da7c290c5547572f1093e4df087f4a0b89e346.tar.bz2
abc-50da7c290c5547572f1093e4df087f4a0b89e346.zip
Compiler warnings.
Diffstat (limited to 'src/opt')
-rw-r--r--src/opt/fxch/FxchSCHashTable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opt/fxch/FxchSCHashTable.c b/src/opt/fxch/FxchSCHashTable.c
index 0796a28c..583563e9 100644
--- a/src/opt/fxch/FxchSCHashTable.c
+++ b/src/opt/fxch/FxchSCHashTable.c
@@ -217,7 +217,7 @@ int Fxch_SCHashTableInsert( Fxch_SCHashTable_t* pSCHashTable,
int* pOutputID1 = Vec_IntEntryP( pSCHashTable->pFxchMan->vOutputID, pNewEntry->iCube * pSCHashTable->pFxchMan->nSizeOutputID );
int Result = 0;
int Base;
- int iNewDiv, i, z;
+ int iNewDiv = -1, i, z;
if ( !Fxch_SCHashTableEntryCompare( pSCHashTable, vCubes, pEntry, pNewEntry ) )
continue;
@@ -290,14 +290,14 @@ int Fxch_SCHashTableRemove( Fxch_SCHashTable_t* pSCHashTable,
if ( pBin->vSCData[iEntry].iCube == iCube )
break;
- assert( ( iEntry != pBin->Size ) && ( pBin->Size != 0 ) );
+ assert( ( iEntry != (int)pBin->Size ) && ( pBin->Size != 0 ) );
pEntry = &( pBin->vSCData[iEntry] );
for ( idx = 0; idx < (int)pBin->Size; idx++ )
if ( idx != iEntry )
{
int Base,
- iDiv;
+ iDiv = -1;
int i, z,
iCube0,