Philippe Mathieu-Daudé
82fdcd3e14
tests/qtest/pflash: Clean up local variable shadowing
Fix:
tests/qtest/pflash-cfi02-test.c: In function ‘test_geometry’:
tests/qtest/pflash-cfi02-test.c:409:22: warning: declaration of ‘byte_addr’ shadows a previous local [-Wshadow=compatible-local]
409 | uint64_t byte_addr = (uint64_t)i * c->sector_len[region];
| ^~~~~~~~~
tests/qtest/pflash-cfi02-test.c:342:14: note: shadowed declaration is here
342 | uint64_t byte_addr = 0;
| ^~~~~~~~~
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904162824.85385-4-philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2023-09-12 12:07:31 +02:00
..
2023-09-08 13:08:52 +03:00
2023-05-23 16:51:18 -07:00
2023-08-03 16:06:49 -04:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-06-07 11:05:09 +02:00
2023-08-30 14:57:50 +01:00
2020-10-17 10:45:50 -04:00
2020-11-17 09:45:24 +01:00
2023-08-28 09:55:48 +02:00
2023-09-08 13:08:52 +03:00
2020-10-13 12:48:17 +02:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-09-11 09:11:22 -04:00
2023-09-12 12:07:31 +02:00
2023-09-11 09:10:37 -04:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2021-03-19 15:18:43 +01:00
2023-09-07 13:32:37 +02:00
2023-09-07 13:32:37 +02:00
2023-01-09 13:50:47 +01:00