2011-02-28 Michael Snyder <msnyder@vmware.com>

* tui/tui-regs.c (tui_register_format): Delete unused variable.
This commit is contained in:
Michael Snyder 2011-03-01 00:11:07 +00:00
parent f47fb26507
commit 4a9bca80ec
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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)