aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/record.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c19632f..d71be0f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-08 Aleksandar Ristovski <aristovski@qnx.com>
+ Hui Zhu <teawater@gmail.com>
+
+ * record.c (record_store_registers): Remove unused variable.
+
2009-08-07 Tom Tromey <tromey@redhat.com>
* language.c (set_language_command): Strip whitespace.
diff --git a/gdb/record.c b/gdb/record.c
index e5b8a37..43737af 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -959,7 +959,6 @@ record_store_registers (struct target_ops *ops, struct regcache *regcache,
if (RECORD_IS_REPLAY)
{
int n;
- struct cleanup *old_cleanups;
/* Let user choose if he wants to write register or not. */
if (regno < 0)