This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] tui-regs.c/tui_register_format: delete unused variable
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 28 Feb 2011 16:12:19 -0800
- Subject: [commit] tui-regs.c/tui_register_format: delete unused variable
checked in
2011-02-28 Michael Snyder <msnyder@vmware.com>
* tui/tui-regs.c (tui_register_format): Delete unused variable.
Index: tui/tui-regs.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui-regs.c,v
retrieving revision 1.43
diff -u -p -r1.43 tui-regs.c
--- tui/tui-regs.c 25 Jan 2011 18:18:15 -0000 1.43
+++ tui/tui-regs.c 1 Mar 2011 00:09:53 -0000
@@ -689,7 +689,6 @@ tui_register_format (struct frame_info *
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)