summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2000-12-03 04:23:54 +0000
committerBen Elliston <bje@au.ibm.com>2000-12-03 04:23:54 +0000
commitd1aef4bb5a7715b021115b4d9943dc03a443a857 (patch)
tree53e2c7bfcc35899924d78901c7a01ed50f69a4ec
parentda4f02a92a6a3f77fbde29be1ce9e87b16f1d4dd (diff)
downloadgdb-d1aef4bb5a7715b021115b4d9943dc03a443a857.tar.gz
2000-12-03 Ben Elliston <bje@redhat.com>
* sim-profile.c (profile_option_handler): Remove unused prof_nr.
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/sim-profile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 362d951599e..66227ea6a41 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2000-12-03 Ben Elliston <bje@redhat.com>
+
+ * sim-profile.c (profile_option_handler): Remove unused prof_nr.
+
2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* hw-events.c (delete_hw_event_data): Remove the scheduled events.
diff --git a/sim/common/sim-profile.c b/sim/common/sim-profile.c
index ff53f71d775..1ac148d1a9b 100644
--- a/sim/common/sim-profile.c
+++ b/sim/common/sim-profile.c
@@ -248,7 +248,7 @@ profile_option_handler (SIM_DESC sd,
char *arg,
int is_command)
{
- int cpu_nr,prof_nr;
+ int cpu_nr;
/* FIXME: Need to handle `cpu' arg. */