2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
authorAleksandar Ristovski <aristovski@qnx.com>
Fri, 1 Feb 2013 20:08:45 +0000 (20:08 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Fri, 1 Feb 2013 20:08:45 +0000 (20:08 +0000)
        * ada-valprint.c (ada_print_floating): Remove unused 'len'.

Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00732.html

gdb/ChangeLog
gdb/ada-valprint.c

index 5efe244cf8988d4e5c0265b6f03ff22ffb6989d0..50d84a164b0df44d2526d689efa0c68d3bad1dde 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-01  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * ada-valprint.c (ada_print_floating): Remove unused 'len'.
+
 2013-02-01  Aleksandar Ristovski  <aristovski@qnx.com>
 
        * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
index 836123f4572df80c572ead8574422be16f250733..5287ce57248cfc6605bf070a1f934b0949fd6dde 100644 (file)
@@ -320,7 +320,6 @@ ada_print_floating (const gdb_byte *valaddr, struct type *type,
 {
   char buffer[64];
   char *s, *result;
-  int len;
   struct ui_file *tmp_stream = mem_fileopen ();
   struct cleanup *cleanups = make_cleanup_ui_file_delete (tmp_stream);
 
@@ -329,7 +328,6 @@ ada_print_floating (const gdb_byte *valaddr, struct type *type,
   do_cleanups (cleanups);
 
   result = buffer;
-  len = strlen (result);
 
   /* Modify for Ada rules.  */
 
This page took 0.026714 seconds and 4 git commands to generate.