summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2005-04-15 17:44:53 +0000
committerKevin Buettner <kevinb@redhat.com>2005-04-15 17:44:53 +0000
commitea4d02fb8aa3915b12773cd0c15b47af8a3968df (patch)
treed2fa7f36a072fa043fc9f8617fb3dfb5d7395f2d /gdb/remote.c
parent141abc1c5e94d5acc667bbe0cd9c56624b28cff1 (diff)
downloadgdb-ea4d02fb8aa3915b12773cd0c15b47af8a3968df.tar.gz
* remote.c (add_packet_config_cmd): Delete unused variables.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 4aa84692b88..95f94a01898 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -640,13 +640,10 @@ add_packet_config_cmd (struct packet_config *config,
struct cmd_list_element **show_remote_list,
int legacy)
{
- struct cmd_list_element *set_cmd;
- struct cmd_list_element *show_cmd;
char *set_doc;
char *show_doc;
- char *help_doc;
- char *print;
char *cmd_name;
+
config->name = name;
config->title = title;
config->detect = AUTO_BOOLEAN_AUTO;
@@ -655,8 +652,6 @@ add_packet_config_cmd (struct packet_config *config,
name, title);
show_doc = xstrprintf ("Show current use of remote protocol `%s' (%s) packet",
name, title);
- print = xstrprintf ("Current use of remote protocol `%s' (%s) is %%s",
- name, title);
/* set/show TITLE-packet {auto,on,off} */
cmd_name = xstrprintf ("%s-packet", title);
add_setshow_auto_boolean_cmd (cmd_name, class_obscure,