aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-03-01 00:11:07 +0000
committerMichael Snyder <msnyder@vmware.com>2011-03-01 00:11:07 +0000
commit4a9bca80ec74da495b128a31e809b123bf4a04b4 (patch)
tree37d5ca3ba1b0de812051cf4b5783b58083eb117f /gdb
parentf47fb26507f399b82a023dd9991a38229c200731 (diff)
downloadgdb-4a9bca80ec74da495b128a31e809b123bf4a04b4.zip
gdb-4a9bca80ec74da495b128a31e809b123bf4a04b4.tar.gz
gdb-4a9bca80ec74da495b128a31e809b123bf4a04b4.tar.bz2
2011-02-28 Michael Snyder <msnyder@vmware.com>
* tui/tui-regs.c (tui_register_format): Delete unused variable.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/tui/tui-regs.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b173285..92db74b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2011-02-28 Michael Snyder <msnyder@vmware.com>
+ * tui/tui-regs.c (tui_register_format): Delete unused variable.
+
* dwarf2read.c (add_partial_symbol): Discard unused values.
(read_base_type): Delete unused variable.
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 1d2bb23..b0d8622 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -689,7 +689,6 @@ tui_register_format (struct frame_info *frame,
const char *name;
struct cleanup *cleanups;
char *p, *s;
- struct type *type = register_type (gdbarch, regnum);
name = gdbarch_register_name (gdbarch, regnum);
if (name == 0)