Skip to content

Commit 3078d8a

Browse files
committed
Remove param from diagnostics in the empty case
1 parent c11b5cd commit 3078d8a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/goto-programs/goto_convert_functions.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,7 @@ void goto_convert_functionst::convert_function(
170170
!p.empty(),
171171
"parameter identifier should not be empty",
172172
"function:",
173-
identifier,
174-
"parameter:",
175-
p);
173+
identifier);
176174

177175
DATA_INVARIANT_WITH_DIAGNOSTICS(
178176
symbol_table.has_symbol(p),

0 commit comments

Comments
 (0)