diff options
author | Kevin Buettner <kevinb@redhat.com> | 2005-04-15 17:44:53 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2005-04-15 17:44:53 +0000 |
commit | 3ed07be45810a1d73c9c3c4c6b690c929a9f68d1 (patch) | |
tree | 533ecdeea43eae92c7b0cb0ec4ca66cf9c14bad0 | |
parent | c9365369a6689336cb4af5ff39204610b0a58d6b (diff) | |
download | gdb-3ed07be45810a1d73c9c3c4c6b690c929a9f68d1.zip gdb-3ed07be45810a1d73c9c3c4c6b690c929a9f68d1.tar.gz gdb-3ed07be45810a1d73c9c3c4c6b690c929a9f68d1.tar.bz2 |
* remote.c (add_packet_config_cmd): Delete unused variables.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/remote.c | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b695e26..26dc0cc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2005-04-15 Kevin Buettner <kevinb@redhat.com> + * remote.c (add_packet_config_cmd): Delete unused variables. + +2005-04-15 Kevin Buettner <kevinb@redhat.com> + * remote.c (show_remote_protocol_vcont_packet_cmd ) (show_remote_protocol_qSymbol_packet_cmd) (show_remote_protocol_P_packet_cmd) diff --git a/gdb/remote.c b/gdb/remote.c index 4aa8469..95f94a0 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, |