From b5e0214aad5de80f3d47406dc5182baeceffe1e0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 14 Aug 2024 06:52:19 -0600 Subject: Remove unnecessary default argument from initialize_block_iterator I noticed that initialize_block_iterator has a default value for one of its arguments, but this is not needed as this function has a single caller that always passes all arguments. This patch removes the default. Tested by rebuilding. --- gdb/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/block.c b/gdb/block.c index 8e37a63..acf21e2 100644 --- a/gdb/block.c +++ b/gdb/block.c @@ -438,7 +438,7 @@ get_block_compunit_symtab (const struct block *block) static void initialize_block_iterator (const struct block *block, struct block_iterator *iter, - const lookup_name_info *name = nullptr) + const lookup_name_info *name) { enum block_enum which; struct compunit_symtab *cu; -- cgit v1.1