This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: remove unused global
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 17 Dec 2012 08:11:34 -0700
- Subject: 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. */