aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-regs.c
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/tui/tui-regs.c
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/tui/tui-regs.c')
-rw-r--r--gdb/tui/tui-regs.c1
1 files changed, 0 insertions, 1 deletions
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)