diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-03-01 00:11:07 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-03-01 00:11:07 +0000 |
commit | 4a9bca80ec74da495b128a31e809b123bf4a04b4 (patch) | |
tree | 37d5ca3ba1b0de812051cf4b5783b58083eb117f /gdb | |
parent | f47fb26507f399b82a023dd9991a38229c200731 (diff) | |
download | gdb-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/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/tui/tui-regs.c | 1 |
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) |