Peter Maydell b2e7e2048b hw/misc/arm_sysctl.c: Avoid shadowing local variable
Avoid shadowing a local variable in arm_sysctl_write():

../../hw/misc/arm_sysctl.c: In function ‘arm_sysctl_write’:
../../hw/misc/arm_sysctl.c:537:26: warning: declaration of ‘val’ shadows a parameter [-Wshadow=local]
  537 |                 uint32_t val;
      |                          ^~~
../../hw/misc/arm_sysctl.c:388:39: note: shadowed declaration is here
  388 |                              uint64_t val, unsigned size)
      |                              ~~~~~~~~~^~~

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20230922152944.3583438-3-peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-09-29 10:07:18 +02:00
..
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:18 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-20 07:54:34 +03:00
2023-09-21 09:32:47 -04:00
2023-09-21 11:31:16 +03:00
2023-09-20 07:54:34 +03:00
2023-09-20 07:54:34 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-06 11:14:55 -04:00
2023-08-31 19:47:43 +02:00
2023-09-21 11:31:16 +03:00
2023-07-25 17:14:07 +03:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-20 07:54:34 +03:00
2023-09-07 14:01:29 -04:00
2023-09-21 11:31:16 +03:00
2023-09-08 13:08:52 +03:00