Skip to content

Commit 6ce9aec

Browse files
author
Daniel Kroening
authored
Merge pull request #483 from smowton/fix_used_local_names
Do not add named vars to used_local_names
2 parents 721e65d + 9192175 commit 6ce9aec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/java_bytecode/java_bytecode_convert_method.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ const exprt java_bytecode_convert_methodt::variable(
171171
else
172172
{
173173
exprt result=var.symbol_expr;
174-
if(!var.is_parameter)
175-
used_local_names.insert(to_symbol_expr(result));
176174
if(do_cast==CAST_AS_NEEDED && t!=result.type())
177175
result=typecast_exprt(result, t);
178176
return result;

0 commit comments

Comments
 (0)