diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-02-23 14:01:09 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-02-23 14:01:09 -0800 |
commit | 8281b56e9e2a6a9339fb2dc86711aa719055e014 (patch) | |
tree | 0929a1f0ede9672ace6595f140ce0fb5909ea56f /src/sat/bsat | |
parent | 1c744cf10a193b52cc0e42a7bd81f05fcf2a02bb (diff) | |
download | abc-8281b56e9e2a6a9339fb2dc86711aa719055e014.tar.gz abc-8281b56e9e2a6a9339fb2dc86711aa719055e014.tar.bz2 abc-8281b56e9e2a6a9339fb2dc86711aa719055e014.zip |
Compiler warnings.
Diffstat (limited to 'src/sat/bsat')
-rw-r--r-- | src/sat/bsat/satSolver.c | 4 | ||||
-rw-r--r-- | src/sat/bsat/satSolver.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/sat/bsat/satSolver.c b/src/sat/bsat/satSolver.c index 9a0d6237..0e5c6b91 100644 --- a/src/sat/bsat/satSolver.c +++ b/src/sat/bsat/satSolver.c @@ -546,6 +546,7 @@ static void sat_solver_record(sat_solver* s, veci* cls) { int RetValue = Sto_ManAddClause( (Sto_Man_t *)s->pStore, begin, end ); assert( RetValue ); + (void) RetValue; } /////////////////////////////////// /* @@ -1333,6 +1334,7 @@ int sat_solver_addclause(sat_solver* s, lit* begin, lit* end) { int RetValue = Sto_ManAddClause( (Sto_Man_t *)s->pStore, begin, end ); assert( RetValue ); + (void) RetValue; } /////////////////////////////////// @@ -1522,6 +1524,7 @@ int sat_solver_solve(sat_solver* s, lit* begin, lit* end, ABC_INT64_T nConfLimit { int RetValue = Sto_ManAddClause( (Sto_Man_t *)s->pStore, NULL, NULL ); assert( RetValue ); + (void) RetValue; } return l_False; } @@ -1692,6 +1695,7 @@ int sat_solver_solve(sat_solver* s, lit* begin, lit* end, ABC_INT64_T nConfLimit { int RetValue = Sto_ManAddClause( (Sto_Man_t *)s->pStore, NULL, NULL ); assert( RetValue ); + (void) RetValue; } //////////////////////////////////////////////// return status; diff --git a/src/sat/bsat/satSolver.h b/src/sat/bsat/satSolver.h index 24350b36..56936088 100644 --- a/src/sat/bsat/satSolver.h +++ b/src/sat/bsat/satSolver.h @@ -203,6 +203,7 @@ static void sat_solver_compress(sat_solver* s) { int RetValue = sat_solver_simplify(s); assert( RetValue != 0 ); + (void) RetValue; } } |