summaryrefslogtreecommitdiff
path: root/gdb/ada-valprint.c
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2013-02-01 20:08:44 +0000
committerAleksandar Ristovski <aristovski@qnx.com>2013-02-01 20:08:44 +0000
commitc4dda951d0538c86dd56526ddaf1819f8a012681 (patch)
tree1ce55e901ee030083eb91866797f5be734674a8c /gdb/ada-valprint.c
parentdc09f343296b59e260d40191e9a586afc03b3e9a (diff)
downloadgdb-c4dda951d0538c86dd56526ddaf1819f8a012681.tar.gz
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/ada-valprint.c')
-rw-r--r--gdb/ada-valprint.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c
index 836123f4572..5287ce57248 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. */