Skip to content

Commit e2d9bba

Browse files
committed
unused argument
1 parent b0ecd3e commit e2d9bba

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/java_bytecode/java_bytecode_convert_method.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ class java_bytecode_convert_methodt:public messaget
9696
} instruction_sizet;
9797

9898
// return corresponding reference of variable
99-
variablet &find_variable_for_slot(unsigned number_int, size_t address,
100-
variablest &var_list, instruction_sizet inst_size)
99+
variablet &find_variable_for_slot(
100+
size_t address,
101+
variablest &var_list,
102+
instruction_sizet inst_size)
101103
{
102104
for(variablet &var : var_list)
103105
{
@@ -127,7 +129,8 @@ class java_bytecode_convert_methodt:public messaget
127129
variablest &var_list = variables[number_int];
128130

129131
// search variable in list for correct frame / address if necessary
130-
variablet &var = find_variable_for_slot(number_int, address, var_list, inst_size);
132+
variablet &var =
133+
find_variable_for_slot(address, var_list, inst_size);
131134

132135
if(var.symbol_expr.get_identifier().empty())
133136
{

0 commit comments

Comments
 (0)