Skip to content

Commit 8dae6fe

Browse files
author
Daniel Kroening
committed
remove the trivial constructor from symex_targett::sourcet
1 parent 55496dc commit 8dae6fe

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/goto-symex/symex_target.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,9 @@ class symex_targett
3939
// The program counter is an iterator which indicates where the execution
4040
// is in its program sequence
4141
goto_programt::const_targett pc;
42-
bool is_set;
43-
44-
sourcet() : thread_nr(0), function(irep_idt()), is_set(false)
45-
{
46-
}
4742

4843
sourcet(const irep_idt &_function, goto_programt::const_targett _pc)
49-
: thread_nr(0), function(_function), pc(_pc), is_set(true)
44+
: thread_nr(0), function(_function), pc(_pc)
5045
{
5146
}
5247

@@ -55,8 +50,7 @@ class symex_targett
5550
const goto_programt &_goto_program)
5651
: thread_nr(0),
5752
function(_function),
58-
pc(_goto_program.instructions.begin()),
59-
is_set(true)
53+
pc(_goto_program.instructions.begin())
6054
{
6155
}
6256
};

0 commit comments

Comments
 (0)