diff options
author | Tom Tromey <tromey@adacore.com> | 2024-08-14 06:52:19 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-08-14 06:54:00 -0600 |
commit | b5e0214aad5de80f3d47406dc5182baeceffe1e0 (patch) | |
tree | 51649bed087c1c70d3292833faa47162017cc836 | |
parent | d15180ebed2b1949bb4245a7b5440cf288d6c7c6 (diff) | |
download | binutils-b5e0214aad5de80f3d47406dc5182baeceffe1e0.zip binutils-b5e0214aad5de80f3d47406dc5182baeceffe1e0.tar.gz binutils-b5e0214aad5de80f3d47406dc5182baeceffe1e0.tar.bz2 |
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.
-rw-r--r-- | gdb/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |