Skip to content

Commit add270e

Browse files
authored
Merge pull request #3317 from tautschnig/vs-message-handler
Remove unused parameter message_handler from static_lifetime_init [blocks: #2310]
2 parents adffaba + 44e0c49 commit add270e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/ansi-c/ansi_c_entry_point.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ bool ansi_c_entry_point(
177177
return false; // give up
178178
}
179179

180-
static_lifetime_init(symbol_table, symbol.location, message_handler);
180+
static_lifetime_init(symbol_table, symbol.location);
181181

182182
return generate_ansi_c_start_function(symbol, symbol_table, message_handler);
183183
}

src/linking/static_lifetime_init.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Author: Daniel Kroening, [email protected]
2424

2525
void static_lifetime_init(
2626
symbol_tablet &symbol_table,
27-
const source_locationt &source_location,
28-
message_handlert &message_handler)
27+
const source_locationt &source_location)
2928
{
3029
PRECONDITION(symbol_table.has_symbol(INITIALIZE_FUNCTION));
3130

src/linking/static_lifetime_init.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ class symbol_tablet;
1818

1919
void static_lifetime_init(
2020
symbol_tablet &symbol_table,
21-
const source_locationt &source_location,
22-
message_handlert &message_handler);
21+
const source_locationt &source_location);
2322

2423
#define INITIALIZE_FUNCTION CPROVER_PREFIX "initialize"
2524

0 commit comments

Comments
 (0)