Skip to content

Commit 1fdd2f5

Browse files
authored
Merge pull request #4293 from owen-jones-diffblue/minor-refactoring-in-symex-goto
Minor refactoring in symex_goto
2 parents aecbf97 + ee2f54c commit 1fdd2f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/goto-symex/symex_goto.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ void goto_symext::symex_goto(statet &state)
3434
return; // nothing to do
3535
}
3636

37-
exprt old_guard = instruction.get_condition();
38-
clean_expr(old_guard, state, false);
37+
exprt new_guard = instruction.get_condition();
38+
clean_expr(new_guard, state, false);
3939

40-
exprt new_guard = state.rename(old_guard, ns);
40+
new_guard = state.rename(std::move(new_guard), ns);
4141
do_simplify(new_guard);
4242

4343
if(new_guard.is_false())

0 commit comments

Comments
 (0)