Skip to content

Commit e545f98

Browse files
peterschrammelDaniel Kroening
authored and
Daniel Kroening
committed
Fix class member initialization...
...so that stupid static analysis tools are able to detect it.
1 parent 5f1eda8 commit e545f98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/goto-symex/symex_target_equation.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class symex_target_equationt:public symex_targett
216216
ssa_exprt ssa_lhs;
217217
exprt ssa_full_lhs, original_full_lhs;
218218
exprt ssa_rhs;
219-
assignment_typet assignment_type=assignment_typet::STATE;
219+
assignment_typet assignment_type;
220220

221221
// for ASSUME/ASSERT/GOTO/CONSTRAINT
222222
exprt cond_expr;
@@ -247,6 +247,7 @@ class symex_target_equationt:public symex_targett
247247
ssa_full_lhs(static_cast<const exprt &>(get_nil_irep())),
248248
original_full_lhs(static_cast<const exprt &>(get_nil_irep())),
249249
ssa_rhs(static_cast<const exprt &>(get_nil_irep())),
250+
assignment_type(assignment_typet::STATE),
250251
cond_expr(static_cast<const exprt &>(get_nil_irep())),
251252
cond_literal(const_literal(false)),
252253
formatted(false),

0 commit comments

Comments
 (0)