Skip to content

Commit 7835f4c

Browse files
Remove field that is assigned but never read
1 parent 6ea2216 commit 7835f4c

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/goto-symex/goto_symex_state.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ class goto_symex_statet final
375375
/// \brief This state is saved, with the PC pointing to the next instruction
376376
/// of a GOTO
377377
bool has_saved_next_instruction;
378-
bool saved_target_is_backwards;
379378

380379
private:
381380
/// \brief Dangerous, do not use

src/goto-symex/symex_goto.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,13 @@ void goto_symext::symex_goto(statet &state)
184184
path_storaget::patht next_instruction(target, state);
185185
next_instruction.state.saved_target = state_pc;
186186
next_instruction.state.has_saved_next_instruction = true;
187-
next_instruction.state.saved_target_is_backwards = backward;
188187

189188
path_storaget::patht jump_target(target, state);
190189
jump_target.state.saved_target = new_state_pc;
191190
jump_target.state.has_saved_jump_target = true;
192191
// `forward` tells us where the branch we're _currently_ executing is
193192
// pointing to; this needs to be inverted for the branch that we're saving,
194193
// so let its truth value for `backwards` be the same as ours for `forward`.
195-
jump_target.state.saved_target_is_backwards = !backward;
196194

197195
log.debug() << "Saving next instruction '"
198196
<< next_instruction.state.saved_target->source_location << "'"

0 commit comments

Comments
 (0)