diff options
Diffstat (limited to 'gdb/ada-valprint.c')
-rw-r--r-- | gdb/ada-valprint.c | 2 |
1 files changed, 0 insertions, 2 deletions
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. */ |