* remote.c (add_packet_config_cmd): Delete unused variables.
authorKevin Buettner <kevinb@redhat.com>
Fri, 15 Apr 2005 17:44:53 +0000 (17:44 +0000)
committerKevin Buettner <kevinb@redhat.com>
Fri, 15 Apr 2005 17:44:53 +0000 (17:44 +0000)
gdb/ChangeLog
gdb/remote.c

index b695e26dd98282f1610518ac3065d880b0df2629..26dc0cc4dbf61df426934647e80b7dc3dde17066 100644 (file)
@@ -1,3 +1,7 @@
+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 )
index 4aa84692b880c5b2f037e94f643a553a2531dbce..95f94a01898d585d0bc81307697a0f0df5792886 100644 (file)
@@ -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,