3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-26 10:28:48 +00:00

fix build warnings

This commit is contained in:
Nikolaj Bjorner 2026-06-22 18:20:23 -07:00
parent 86737e11ea
commit cb3d058067
19 changed files with 22 additions and 29 deletions

View file

@ -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);