sim: common: fix -Wunused-variable warnings

This commit is contained in:
Mike Frysinger
2023-12-06 06:39:49 -07:00
parent e9026cfbcf
commit 715dd70c29
6 changed files with 10 additions and 14 deletions

View File

@@ -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)
{