Skip to content

Commit

Permalink
mute some compiler warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Feb 3, 2024
1 parent 9425c41 commit bc70282
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
7 changes: 4 additions & 3 deletions src/ast/euf/euf_bv_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,10 @@ namespace euf {
m_offsets.reserve(n->get_root_id() + 1);
m_offsets[n->get_root_id()].reset();
}
for (auto const& off : m_offsets) {
SASSERT(off.empty());
}
DEBUG_CODE(
for (auto const& off : m_offsets) {
VERIFY(off.empty());
});
m_jtodo.reset();
return;
}
Expand Down
7 changes: 0 additions & 7 deletions src/ast/rewriter/bool_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,16 +545,9 @@ bool bool_rewriter::local_ctx_simp(unsigned num_args, expr * const * args, expr_
bool simp = false;
bool modified = false;
bool forward = true;
unsigned rounds = 0;
expr* narg;

while (true) {
rounds++;
#if 0
if (rounds > 10)
verbose_stream() << "rounds: " << rounds << "\n";
#endif


#define PROCESS_ARG() \
{ \
Expand Down
2 changes: 2 additions & 0 deletions src/math/polynomial/polynomial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3624,6 +3624,7 @@ namespace polynomial {

unsigned counter = 0;
while (true) {
(void)counter;
SASSERT(degree(pp_u, x) >= degree(pp_v, x));
unsigned delta = degree(pp_u, x) - degree(pp_v, x);
TRACE("polynomial_gcd_detail",
Expand Down Expand Up @@ -4169,6 +4170,7 @@ namespace polynomial {
unsigned counter = 0;

for (;; counter++) {
(void) counter;
while (true) {
peek_fresh(interpolator.inputs(), p, val);
// the selected value must satisfy lc_g(val) != 0
Expand Down

0 comments on commit bc70282

Please sign in to comment.