gdb: remove unused parameters in print_doc_of_command, apropos_cmd

I noticed the prefix parameter was unused in print_doc_of_command.  And
when removing it, it becomes unused in apropos_cmd.

Change-Id: Id72980b03fe091b22931e6b85945f412b274ed5e
This commit is contained in:
Simon Marchi
2023-04-01 15:24:58 -04:00
parent 9c137cd164
commit c4e37fa8e5
3 changed files with 9 additions and 11 deletions

View File

@ -283,7 +283,7 @@ private:
extern void help_cmd (const char *, struct ui_file *);
extern void apropos_cmd (struct ui_file *, struct cmd_list_element *,
bool verbose, compiled_regex &, const char *);
bool verbose, compiled_regex &);
/* Used to mark commands that don't do anything. If we just leave the
function field NULL, the command is interpreted as a help topic, or