This is the mail archive of the gdb-patches@sources.redhat.com 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]

[Sim] Patch to sim-profile.c


FYI, I have commited the following trivial patch to the sim tree.
This allays an unused variable warning from the C compiler.

Ben


2000-12-03  Ben Elliston  <bje@redhat.com>

	* sim-profile.c (profile_option_handler): Remove unused prof_nr.


Index: sim-profile.c
===================================================================
RCS file: /cvs/src/src/sim/common/sim-profile.c,v
retrieving revision 1.3
diff -u -r1.3 sim-profile.c
--- sim-profile.c       2000/08/15 18:49:50     1.3
+++ sim-profile.c       2000/12/03 04:20:57
@@ -248,7 +248,7 @@
                        char *arg,
                        int is_command)
 {
-  int cpu_nr,prof_nr;
+  int cpu_nr;
 
   /* FIXME: Need to handle `cpu' arg.  */

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