forked from Imagelibrary/binutils-gdb
sim: common: fix -Wshadow=local warnings
Rename shadowed vars with different types, and delete redundant decls.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user