@@ -27,7 +27,7 @@ struct proc {
27
27
void operator ()(var *n) const {}
28
28
void operator ()(quantifier *q) const {}
29
29
void operator ()(app const *n) const {
30
- expr *e1 , *e2 ;
30
+ expr *e1 = nullptr , *e2 = nullptr ;
31
31
if (m_arith.is_mul (n, e1 , e2 )) {
32
32
if (is_var (e1 ) && !is_var (e2 ))
33
33
m_marks.mark (e2 );
@@ -71,7 +71,7 @@ bool pob_concretizer::apply(const expr_ref_vector &cube, expr_ref_vector &out) {
71
71
}
72
72
73
73
bool pob_concretizer::is_split_var (expr *e, expr *&var, bool &pos) {
74
- expr *e1 , *e2 ;
74
+ expr *e1 = nullptr , *e2 = nullptr ;
75
75
rational n;
76
76
77
77
if (m_var_marks.is_marked (e)) {
@@ -89,7 +89,7 @@ bool pob_concretizer::is_split_var(expr *e, expr *&var, bool &pos) {
89
89
}
90
90
91
91
void pob_concretizer::split_lit_le_lt (expr *_lit, expr_ref_vector &out) {
92
- expr *e1 , *e2 ;
92
+ expr *e1 = nullptr , *e2 = nullptr ;
93
93
94
94
expr *lit = _lit;
95
95
m.is_not (_lit, lit);
@@ -133,7 +133,7 @@ void pob_concretizer::split_lit_le_lt(expr *_lit, expr_ref_vector &out) {
133
133
}
134
134
135
135
void pob_concretizer::split_lit_ge_gt (expr *_lit, expr_ref_vector &out) {
136
- expr *e1 , *e2 ;
136
+ expr *e1 = nullptr , *e2 = nullptr ;
137
137
138
138
expr *lit = _lit;
139
139
m.is_not (_lit, lit);
@@ -182,7 +182,7 @@ bool pob_concretizer::apply_lit(expr *_lit, expr_ref_vector &out) {
182
182
183
183
// split literals of the form a1*x1 + ... + an*xn ~ c, where c is a
184
184
// constant, ~ is <, <=, >, or >=, and the top level operator of LHS is +
185
- expr *e1 , *e2 ;
185
+ expr *e1 = nullptr , *e2 = nullptr ;
186
186
if ((m_arith.is_lt (lit, e1 , e2 ) || m_arith.is_le (lit, e1 , e2 )) &&
187
187
m_arith.is_add (e1 )) {
188
188
SASSERT (m_arith.is_numeral (e2 ));
0 commit comments