We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0130eb8 commit 1ea7e9eCopy full SHA for 1ea7e9e
src/goto-instrument/nondet_static.cpp
@@ -31,7 +31,7 @@ void nondet_static(
31
32
Forall_goto_program_instructions(i_it, init)
33
{
34
- const goto_programt::instructiont &instruction=*i_it;
+ const goto_programt::instructiont instruction=*i_it;
35
36
if(instruction.is_assign())
37
@@ -54,7 +54,7 @@ void nondet_static(
54
if(is_constant_or_has_constant_components(sym.type(), ns))
55
continue;
56
57
- i_it=init.insert_before(++i_it);
+ //i_it=init.insert_before(++i_it);
58
i_it->make_assignment();
59
i_it->code=code_assignt(sym, side_effect_expr_nondett(sym.type()));
60
i_it->source_location=instruction.source_location;
0 commit comments