summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2020-09-17 13:07:14 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2020-09-17 13:07:14 -0700
commit63fc01ccbda851b34647de6ee57b36a82e1e6d48 (patch)
tree625c57b6d8b8a5991986b06f423598dc111c90b0 /src
parent083c1218e5a1742e881d0ce9e90c8cd0b53748a7 (diff)
downloadabc-63fc01ccbda851b34647de6ee57b36a82e1e6d48.tar.gz
abc-63fc01ccbda851b34647de6ee57b36a82e1e6d48.tar.bz2
abc-63fc01ccbda851b34647de6ee57b36a82e1e6d48.zip
Compiler warnings.
Diffstat (limited to 'src')
-rw-r--r--src/aig/gia/giaResub2.c2
-rw-r--r--src/aig/gia/giaSimBase.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/gia/giaResub2.c b/src/aig/gia/giaResub2.c
index ac086b68..23d73dd8 100644
--- a/src/aig/gia/giaResub2.c
+++ b/src/aig/gia/giaResub2.c
@@ -419,7 +419,7 @@ void Abc_ResubPrintDivs( void ** ppDivs, int nDivs )
for ( i = 0; i < nDivs; i++ )
{
printf( "Div %2d : ", i );
- Dau_DsdPrintFromTruth( ppDivs[i], 6 );
+ Dau_DsdPrintFromTruth( pDivs[i], 6 );
}
}
int Abc_ResubNodeToTry( Vec_Int_t * vTried, int iFirst, int iLast )
diff --git a/src/aig/gia/giaSimBase.c b/src/aig/gia/giaSimBase.c
index db29bbed..2e61c1ff 100644
--- a/src/aig/gia/giaSimBase.c
+++ b/src/aig/gia/giaSimBase.c
@@ -2103,7 +2103,7 @@ void Gia_ManSimGen( Gia_Man_t * pGia )
fprintf( pFile, " unsigned long s%07d_%d = 0x%08x%08x;\n", 0, k, 0, 0 );
Gia_ManForEachCiId( pGia, Id, i )
{
- word * pSim = Vec_WrdEntryP(vSim0, i*nWords);
+ //word * pSim = Vec_WrdEntryP(vSim0, i*nWords);
//unsigned * pSimU = (unsigned *)pSim;
for ( k = 0; k < nWords; k++ )
fprintf( pFile, " unsigned long s%07d_%d = ((unsigned long)rand() << 48) | ((unsigned long)rand() << 32) | ((unsigned long)rand() << 16) | (unsigned long)rand();\n", Id, k );