This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[Sim] Patch to sim-profile.c
- To: gdb-patches at sources dot redhat dot com
- Subject: [Sim] Patch to sim-profile.c
- From: Ben Elliston <bje at redhat dot com>
- Date: Sun, 3 Dec 2000 15:22:49 +1100
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. */