3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

mute some compiler warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-02-03 15:42:06 -08:00
parent 9425c419ad
commit bc70282a18
3 changed files with 6 additions and 10 deletions

View file

@ -525,9 +525,10 @@ namespace euf {
m_offsets.reserve(n->get_root_id() + 1); m_offsets.reserve(n->get_root_id() + 1);
m_offsets[n->get_root_id()].reset(); m_offsets[n->get_root_id()].reset();
} }
for (auto const& off : m_offsets) { DEBUG_CODE(
SASSERT(off.empty()); for (auto const& off : m_offsets) {
} VERIFY(off.empty());
});
m_jtodo.reset(); m_jtodo.reset();
return; return;
} }

View file

@ -545,16 +545,9 @@ bool bool_rewriter::local_ctx_simp(unsigned num_args, expr * const * args, expr_
bool simp = false; bool simp = false;
bool modified = false; bool modified = false;
bool forward = true; bool forward = true;
unsigned rounds = 0;
expr* narg; expr* narg;
while (true) { while (true) {
rounds++;
#if 0
if (rounds > 10)
verbose_stream() << "rounds: " << rounds << "\n";
#endif
#define PROCESS_ARG() \ #define PROCESS_ARG() \
{ \ { \

View file

@ -3624,6 +3624,7 @@ namespace polynomial {
unsigned counter = 0; unsigned counter = 0;
while (true) { while (true) {
(void)counter;
SASSERT(degree(pp_u, x) >= degree(pp_v, x)); SASSERT(degree(pp_u, x) >= degree(pp_v, x));
unsigned delta = degree(pp_u, x) - degree(pp_v, x); unsigned delta = degree(pp_u, x) - degree(pp_v, x);
TRACE("polynomial_gcd_detail", TRACE("polynomial_gcd_detail",
@ -4169,6 +4170,7 @@ namespace polynomial {
unsigned counter = 0; unsigned counter = 0;
for (;; counter++) { for (;; counter++) {
(void) counter;
while (true) { while (true) {
peek_fresh(interpolator.inputs(), p, val); peek_fresh(interpolator.inputs(), p, val);
// the selected value must satisfy lc_g(val) != 0 // the selected value must satisfy lc_g(val) != 0