File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1833,7 +1833,7 @@ void goto_checkt::goto_check(
1833
1833
lhs);
1834
1834
goto_programt::targett t =
1835
1835
new_code.add (goto_programt::make_assignment (
1836
- code_assignt ( std::move (lhs), std::move (rhs) ), i.source_location ));
1836
+ std::move (lhs), std::move (rhs), i.source_location ));
1837
1837
t->code .add_source_location ()=i.source_location ;
1838
1838
}
1839
1839
}
@@ -1849,7 +1849,7 @@ void goto_checkt::goto_check(
1849
1849
1850
1850
// add self-assignment to get helpful counterexample output
1851
1851
new_code.add (
1852
- goto_programt::make_assignment (code_assignt ( leak_expr, leak_expr) ));
1852
+ goto_programt::make_assignment (leak_expr, leak_expr));
1853
1853
1854
1854
source_locationt source_location;
1855
1855
source_location.set_function (function_identifier);
You can’t perform that action at this time.
0 commit comments