This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]