mirror of
https://github.com/Z3Prover/z3
synced 2026-02-16 22:01:44 +00:00
Fix 13 compiler warnings: sign-comparison and unused parameters (#8215)
* Initial plan * Fix 13 compiler warnings: sign-comparison and unused parameters Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
9666915dca
commit
36323f723b
10 changed files with 13 additions and 13 deletions
|
|
@ -74,7 +74,7 @@ private:
|
|||
// For imprecise types (e.g., floats) it should set the rounding mode.
|
||||
void round_to_minus_inf() {}
|
||||
void round_to_plus_inf() {}
|
||||
void set_rounding(bool to_plus_inf) {}
|
||||
void set_rounding(bool /*to_plus_inf*/) {}
|
||||
|
||||
// Getters
|
||||
mpq const& lower(interval const& a) const { return a.m_lower; }
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public:
|
|||
// For imprecise types (e.g., floats) it should set the rounding mode.
|
||||
void round_to_minus_inf() {}
|
||||
void round_to_plus_inf() {}
|
||||
void set_rounding(bool to_plus_inf) {}
|
||||
void set_rounding(bool /*to_plus_inf*/) {}
|
||||
|
||||
// Getters
|
||||
numeral const & lower(interval const & a) const { return a.m_lower; }
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ public:
|
|||
TRACE(nla_cn, tout << "save c=" << **c << "; front:"; print_front(front, tout) << "\n";);
|
||||
nex* copy_of_c = *c;
|
||||
auto copy_of_front = copy_front(front);
|
||||
int alloc_size = m_nex_creator.size();
|
||||
int alloc_size = static_cast<int>(m_nex_creator.size());
|
||||
for (lpvar j : vars) {
|
||||
if (m_var_is_fixed(j)) {
|
||||
// it does not make sense to explore fixed multupliers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue