aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-varobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ada-varobj.c')
-rw-r--r--gdb/ada-varobj.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/ada-varobj.c b/gdb/ada-varobj.c
index 267ee26..c8b4ba6 100644
--- a/gdb/ada-varobj.c
+++ b/gdb/ada-varobj.c
@@ -825,7 +825,6 @@ ada_varobj_get_value_of_array_variable (struct value *value,
struct type *type,
struct value_print_options *opts)
{
- char *result;
const int numchild = ada_varobj_get_array_number_of_children (value, type);
/* If we have a string, provide its contents in the "value" field.