Skip to content

Commit 5fa91bf

Browse files
author
Daniel Kroening
committed
use make_assignment(lhs, rhs)
1 parent 7d64d7e commit 5fa91bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-instrument/dump_c.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ void dump_ct::cleanup_decl(
593593
tmp.add(goto_programt::make_decl(decl.symbol()));
594594

595595
if(value.is_not_nil())
596-
tmp.add(goto_programt::make_assignment(code_assignt(decl.op0(), value)));
596+
tmp.add(goto_programt::make_assignment(decl.op0(), value));
597597

598598
tmp.add(goto_programt::make_end_function());
599599

0 commit comments

Comments
 (0)