mirror of
https://github.com/Z3Prover/z3
synced 2026-07-18 21:15:47 +00:00
fix build warnings
This commit is contained in:
parent
86737e11ea
commit
cb3d058067
19 changed files with 22 additions and 29 deletions
|
|
@ -4829,7 +4829,7 @@ br_status seq_rewriter::mk_re_complement(expr* a, expr_ref& result) {
|
|||
unsigned lo_v = 0, hi_v = 0;
|
||||
if (re().is_range(a, lo_v, hi_v)) {
|
||||
unsigned max_c = u().max_char();
|
||||
sort *srt = a->get_sort(), *seq_sort;
|
||||
sort *srt = a->get_sort(), *seq_sort = nullptr;
|
||||
VERIFY(m_util.is_re(a, seq_sort));
|
||||
bool has_left = (lo_v > 0);
|
||||
bool has_right = (hi_v < max_c);
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ private:
|
|||
class children_iterator {
|
||||
public:
|
||||
children_iterator(ast_manager& m, production const& prod, term_bank const& bank, unsigned current_cost)
|
||||
: m(m), m_prod(prod), m_current_cost(current_cost), m_done(false)
|
||||
: m(m), m_done(false)
|
||||
{
|
||||
m_arity = prod.domain.size();
|
||||
if (m_arity == 0) {
|
||||
|
|
@ -276,8 +276,6 @@ public:
|
|||
|
||||
private:
|
||||
ast_manager& m;
|
||||
production const& m_prod;
|
||||
unsigned m_current_cost;
|
||||
unsigned m_arity;
|
||||
bool m_done;
|
||||
vector<cost_terms> m_candidates;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue