sim: common: fix -Wshadow=local warnings

Rename shadowed vars with different types, and delete redundant decls.
This commit is contained in:
Mike Frysinger
2023-12-21 20:07:48 -05:00
parent 5f347a1106
commit ef382e84b7
2 changed files with 3 additions and 3 deletions

View File

@@ -496,7 +496,7 @@ standard_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt,
case OPTION_ENV_UNSET:
{
int i, varlen;
int varlen;
char **envp;
if (STATE_PROG_ENVP (sd) == NULL)