Skip to content

Commit 2361a02

Browse files
committed
Fixing compilation problemj in some builds.
1 parent feefa0f commit 2361a02

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/base/abci/abc.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44472,7 +44472,8 @@ int Abc_CommandAbc9Simap( Abc_Frame_t * pAbc, int argc, char ** argv )
4447244472
int Abc_CommandAbc9Exmap( Abc_Frame_t * pAbc, int argc, char ** argv )
4447344473
{
4447444474
extern Gia_Man_t * Gia_ManKSatMapping( word Truth, int nIns, int nNodes, int nBound, int nBTLimit, int nTimeout, int fVerbose );
44475-
int c, nVars = 0, nNodes = 0, nBTLimit = 0, nBound = 0, nTimeout = 0, fVerbose = 0; Gia_Man_t * pTemp = NULL;
44475+
Gia_Man_t * pTemp = NULL; char * pTruth = NULL; word Truth = 0;
44476+
int c, nVars = 0, nNodes = 0, nVars2, nBTLimit = 0, nBound = 0, nTimeout = 0, fVerbose = 0;
4447644477
Extra_UtilGetoptReset();
4447744478
while ( ( c = Extra_UtilGetopt( argc, argv, "NBCTvh" ) ) != EOF )
4447844479
{
@@ -44542,7 +44543,7 @@ int Abc_CommandAbc9Exmap( Abc_Frame_t * pAbc, int argc, char ** argv )
4454244543
Abc_Print( -1, "Truth table should be given on the command line.\n" );
4454344544
return 1;
4454444545
}
44545-
char * pTruth = argv[globalUtilOptind];
44546+
pTruth = argv[globalUtilOptind];
4454644547
nVars = Abc_Base2Log(4*strlen(pTruth));
4454744548
if ( (1 << nVars) != 4*strlen(pTruth) )
4454844549
{
@@ -44558,9 +44559,8 @@ int Abc_CommandAbc9Exmap( Abc_Frame_t * pAbc, int argc, char ** argv )
4455844559
{
4455944560
Abc_Print( -1, "The number of nodes should be given on the command line (-N <num>).\n" );
4456044561
return 1;
44561-
}
44562-
word Truth = 0;
44563-
int nVars2 = Abc_TtReadHex( &Truth, pTruth );
44562+
}
44563+
nVars2 = Abc_TtReadHex( &Truth, pTruth );
4456444564
assert( nVars2 == nVars );
4456544565
pTemp = Gia_ManKSatMapping( Truth, nVars, nNodes, nBound, nBTLimit, nTimeout, fVerbose );
4456644566
if ( pTemp ) Abc_FrameUpdateGia( pAbc, pTemp );

0 commit comments

Comments
 (0)