mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
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
This commit is contained in:
parent
f2e5f4cedf
commit
8db60374eb
@ -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'.
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user