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] Remove unused variable control_level


This seems to be a left-over from year 2000, when scripting commands
were moved to cli/cli-script.c.

Committed as obvious.

2006-01-07  Eli Zaretskii  <eliz@gnu.org>

	* top.c (control_level): Remove unused variable.

Index: gdb/top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.111
diff -u -r1.111 top.c
--- gdb/top.c	2 Jan 2006 05:50:11 -0000	1.111
+++ gdb/top.c	7 Jan 2006 10:19:05 -0000
@@ -184,9 +184,6 @@
    target is off and running, which gdb is doing something else. */
 int target_executing = 0;
 
-/* Level of control structure.  */
-static int control_level;
-
 /* Sbrk location on entry to main.  Used for statistics only.  */
 #ifdef HAVE_SBRK
 char *lim_at_start;


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