mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
Remove unused declarations
This removes some unused cleanup declarations. 2017-10-03 Tom Tromey <tom@tromey.com> * mi/mi-main.c (mi_cmd_trace_frame_collected): Remove unused declaration. * printcmd.c (x_command): Remove unused declaration. * symfile.c (symbol_file_command): Remove unused declaration.
This commit is contained in:
parent
e05550d7a4
commit
245ad7d373
@ -1,3 +1,10 @@
|
||||
2017-10-03 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* mi/mi-main.c (mi_cmd_trace_frame_collected): Remove unused
|
||||
declaration.
|
||||
* printcmd.c (x_command): Remove unused declaration.
|
||||
* symfile.c (symbol_file_command): Remove unused declaration.
|
||||
|
||||
2017-10-03 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* utils.c (internal_vproblem): Use std::string.
|
||||
|
@ -2730,7 +2730,6 @@ mi_cmd_trace_frame_collected (const char *command, char **argv, int argc)
|
||||
|
||||
/* Trace state variables. */
|
||||
{
|
||||
struct cleanup *cleanups;
|
||||
int tvar;
|
||||
int i;
|
||||
|
||||
|
@ -1606,7 +1606,6 @@ static void
|
||||
x_command (char *exp, int from_tty)
|
||||
{
|
||||
struct format_data fmt;
|
||||
struct cleanup *old_chain;
|
||||
struct value *val;
|
||||
|
||||
fmt.format = last_format ? last_format : 'x';
|
||||
|
@ -1629,7 +1629,6 @@ symbol_file_command (const char *args, int from_tty)
|
||||
{
|
||||
objfile_flags flags = OBJF_USERLOADED;
|
||||
symfile_add_flags add_flags = 0;
|
||||
struct cleanup *cleanups;
|
||||
char *name = NULL;
|
||||
|
||||
if (from_tty)
|
||||
|
Loading…
Reference in New Issue
Block a user