Pierrick Bouvier <[email protected]> writes: > Caught this since by compiling this file with -Wall, -Werror. > > ../tests/tcg/aarch64/system/../../multiarch/system/memory.c: In function > ‘init_test_data_s8’: > ../tests/tcg/aarch64/system/../../multiarch/system/memory.c:97:18: error: > unused variable ‘bottom’ [-Werror=unused-variable] > 97 | uint8_t top, bottom, *ptr = &test_data[0]; > | ^~~~~~ > ../tests/tcg/aarch64/system/../../multiarch/system/memory.c:97:13: error: > unused variable ‘top’ [-Werror=unused-variable] > 97 | uint8_t top, bottom, *ptr = &test_data[0]; > | ^~~ > ../tests/tcg/aarch64/system/../../multiarch/system/memory.c: In function > ‘read_test_data_s8’: > ../tests/tcg/aarch64/system/../../multiarch/system/memory.c:384:14: error: > unused variable ‘ok’ [-Werror=unused-variable] > 384 | bool ok; > | > > Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Alex Bennée <[email protected]> -- Alex Bennée Virtualisation Tech Lead @ Linaro
