aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-run.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-06 06:39:49 -0700
committerMike Frysinger <vapier@gentoo.org>2023-12-19 05:51:09 -0500
commit715dd70c299d20fe4c494de23c5ecf59fdd03bb2 (patch)
tree80a8d0796afe2616f9360d44e0eff579b0094954 /sim/common/cgen-run.c
parente9026cfbcfa4769e1c328dd45798d4483e37fc5d (diff)
downloadbinutils-715dd70c299d20fe4c494de23c5ecf59fdd03bb2.zip
binutils-715dd70c299d20fe4c494de23c5ecf59fdd03bb2.tar.gz
binutils-715dd70c299d20fe4c494de23c5ecf59fdd03bb2.tar.bz2
sim: common: fix -Wunused-variable warnings
Diffstat (limited to 'sim/common/cgen-run.c')
-rw-r--r--sim/common/cgen-run.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/common/cgen-run.c b/sim/common/cgen-run.c
index 29578b0..b0b7cf1 100644
--- a/sim/common/cgen-run.c
+++ b/sim/common/cgen-run.c
@@ -56,8 +56,7 @@ static void engine_run_n (SIM_DESC, int, int, int, int);
static int
cgen_get_fast_p (SIM_DESC sd)
{
- int i, c;
- int run_fast_p = 1;
+ int c;
for (c = 0; c < MAX_NR_PROCESSORS; ++c)
{