Skip to content

Commit 9a81e2b

Browse files
authored
Merge pull request #3368 from tautschnig/vs-unused
Remove unused parameter array_component_element_type_name [blocks: #2310]
2 parents db386ea + 725b20e commit 9a81e2b

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

jbmc/unit/java-testing-utils/load_java_class.cpp

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,12 @@ goto_modelt load_goto_model_from_java_class(
9898

9999
// Construct a lazy_goto_modelt
100100
lazy_goto_modelt lazy_goto_model(
101-
[](goto_model_functiont &function, const abstract_goto_modelt &model) {},
102-
[](goto_modelt &goto_model) { return false; },
103-
[](const irep_idt &name) { return false; },
104-
[](
105-
const irep_idt &function_name,
106-
symbol_table_baset &symbol_table,
107-
goto_functiont &function,
108-
bool body_available) { return false; },
101+
[](goto_model_functiont &, const abstract_goto_modelt &) {},
102+
[](goto_modelt &) { return false; },
103+
[](const irep_idt &) { return false; },
104+
[](const irep_idt &, symbol_table_baset &, goto_functiont &, bool) {
105+
return false;
106+
},
109107
null_message_handler);
110108

111109
// Configure the path loading

jbmc/unit/java-testing-utils/require_goto_statements.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ const irep_idt &require_goto_statements::require_struct_component_assignment(
383383
/// \param superclass_name The name of its superclass (if given)
384384
/// \param array_component_name The name of the array field of the superclass
385385
/// \param array_type_name The type of the array, e.g., java::array[reference]
386-
/// \param array_component_element_type_name The element type of the array
387386
/// \param entry_point_instructions The statements to look through
388387
/// \param symbol_table: A symbol table to enable type lookups
389388
/// \return The identifier of the variable assigned to the field
@@ -393,7 +392,6 @@ require_goto_statements::require_struct_array_component_assignment(
393392
const optionalt<irep_idt> &superclass_name,
394393
const irep_idt &array_component_name,
395394
const irep_idt &array_type_name,
396-
const irep_idt &array_component_element_type_name,
397395
const std::vector<codet> &entry_point_instructions,
398396
const symbol_tablet &symbol_table)
399397
{

jbmc/unit/java-testing-utils/require_goto_statements.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ const irep_idt &require_struct_array_component_assignment(
9191
const optionalt<irep_idt> &superclass_name,
9292
const irep_idt &array_component_name,
9393
const irep_idt &array_type_name,
94-
const irep_idt &array_component_element_type_name,
9594
const std::vector<codet> &entry_point_instructions,
9695
const symbol_tablet &symbol_table);
9796

jbmc/unit/java_bytecode/goto_program_generics/generic_parameters_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ SCENARIO(
7171
{},
7272
"array_field",
7373
"java::array[reference]",
74-
"java::IWrapper",
7574
entry_point_code,
7675
symbol_table);
7776
}

0 commit comments

Comments
 (0)