aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-05-07 16:00:48 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-05-07 16:00:48 +0000
commit587542abbb380b10985c99b716abd7fbab0f6244 (patch)
tree23526d44bdfe2ab8bf5ebbfe457cfabc2abecdde
parent3caf13b459b8f13c3bd3c60f33d3b1ed96801c1e (diff)
downloadgdb-587542abbb380b10985c99b716abd7fbab0f6244.zip
gdb-587542abbb380b10985c99b716abd7fbab0f6244.tar.gz
gdb-587542abbb380b10985c99b716abd7fbab0f6244.tar.bz2
* ada-lang.c (assign_aggregate): Remove unused variable.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ada-lang.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8b70893..bbe2b6d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-07 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (assign_aggregate): Remove unused variable.
+
2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
PR C++/7943:
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index f68825c..3b3894c 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -8049,7 +8049,6 @@ assign_aggregate (struct value *container,
int max_indices, num_indices;
int is_array_aggregate;
int i;
- struct value *mark = value_mark ();
*pos += 3;
if (noside != EVAL_NORMAL)