diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2013-02-01 20:08:45 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2013-02-01 20:08:45 +0000 |
commit | 8db60374ebbe2b436929e27ce80b2dddb2c4eb13 (patch) | |
tree | 9843b2b64065631dffe0033f6725d5521dce0ba2 /gdb | |
parent | f2e5f4cedf3020d6af0c5f33ce890a5ca790e1ad (diff) | |
download | gdb-8db60374ebbe2b436929e27ce80b2dddb2c4eb13.zip gdb-8db60374ebbe2b436929e27ce80b2dddb2c4eb13.tar.gz gdb-8db60374ebbe2b436929e27ce80b2dddb2c4eb13.tar.bz2 |
2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
* ada-valprint.c (ada_print_floating): Remove unused 'len'.
Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00732.html
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ada-valprint.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5efe244..50d84a1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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'. 2013-02-01 Pedro Alves <palves@redhat.com> diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index 836123f..5287ce5 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -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. */ |