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]

FYI: remove unused global


I happened to notice that the global variable xgdb_verbose is not used
anywhere.

This patch removes it.

Tested by rebuilding.

Tom

2012-12-17  Tom Tromey  <tromey@redhat.com>

	* top.c (xgdb_verbose): Remove.

Index: top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.220
diff -u -r1.220 top.c
--- top.c	28 Aug 2012 14:08:41 -0000	1.220
+++ top.c	17 Dec 2012 15:08:59 -0000
@@ -138,7 +138,6 @@
 void (*window_hook) (FILE *, char *);
 
 int epoch_interface;
-int xgdb_verbose;
 
 /* Buffer used for reading command lines, and the size
    allocated for it so far.  */


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