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

@@ -1768,7 +1768,7 @@ apropos_command (const char *arg, int from_tty)
compiled_regex pattern (arg, REG_ICASE,
_("Error in regular expression"));
apropos_cmd (gdb_stdout, cmdlist, verbose, pattern, "");
apropos_cmd (gdb_stdout, cmdlist, verbose, pattern);
}
/* The options for the "alias" command. */