sim: arm: fix -Wshadow=local warnings
authorMike Frysinger <vapier@gentoo.org>
Fri, 22 Dec 2023 01:03:41 +0000 (20:03 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 23 Dec 2023 04:29:19 +0000 (23:29 -0500)
commit8ce49cf102519f42b6a5799ba30f408572ecb11e
tree29ee1d87ff6fd061b57777cd0340ec9cb8a84b7f
parent2bf4edd2ea563aee8ea9008fe448a4da8abd66f3
sim: arm: fix -Wshadow=local warnings

Remove duplicate nested variable declarations, rename some to avoid
confusion when the type is different or the original value should be
retained, and fix some weirdness with nested enums in structs.
sim/arm/armemu.c
sim/arm/thumbemu.c
sim/arm/wrapper.c