Skip to content

Commit c78dd76

Browse files
madebrStephen L Arnold
authored andcommitted
Silence warning about unused variables
The assert is disabled in release builds.
1 parent 63e7aba commit c78dd76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/misc/util/utilDouble.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ static inline void Xdbl_Test()
179179
xdbl b = Xdbl_FromDouble(10.28828287);
180180
xdbl ab = Xdbl_Mul(a, b);
181181

182-
xdbl ten100 = Xdbl_FromDouble( 1e100 );
183-
xdbl ten100_ = ABC_CONST(0x014c924d692ca61b);
182+
xdbl ten100 ___unused = Xdbl_FromDouble( 1e100 );
183+
xdbl ten100_ ___unused = ABC_CONST(0x014c924d692ca61b);
184184

185185
assert( ten100 == ten100_ );
186186

src/misc/util/utilTruth.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ static inline int Abc_TtCheckCondDep2( word * pTruth, int nVars, int nSuppLim )
16571657
}
16581658
static inline int Abc_TtCheckCondDep( word * pTruth, int nVars, int nSuppLim )
16591659
{
1660-
int nVarsMax = 13;
1660+
int nVarsMax ___unused = 13;
16611661
word Cof0[128], Cof1[128]; // pow( 2, nVarsMax-6 )
16621662
int v, d, nWords = Abc_TtWordNum(nVars);
16631663
assert( nVars <= nVarsMax );

0 commit comments

Comments
 (0)