public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [commit] tui-regs.c/tui_register_format: delete unused variable
@ 2011-03-01  0:12 Michael Snyder
  0 siblings, 0 replies; only message in thread
From: Michael Snyder @ 2011-03-01  0:12 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 12 bytes --]

checked in


[-- Attachment #2: unused9.txt --]
[-- Type: text/plain, Size: 654 bytes --]

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-01  0:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01  0:12 [commit] tui-regs.c/tui_register_format: delete unused variable Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).