diff options
author | Song Gao | 2022-07-21 06:00:46 +0200 |
---|---|---|
committer | Richard Henderson | 2022-08-05 19:02:07 +0200 |
commit | 4cbadc40b99801488bf8d5153d56ae751af15ab9 (patch) | |
tree | ce8eb0933790f577cd3c3814b206f95051121908 /gdb-xml | |
parent | target/loongarch: Fix macros SET_FPU_* in cpu.h (diff) | |
download | qemu-4cbadc40b99801488bf8d5153d56ae751af15ab9.tar.gz qemu-4cbadc40b99801488bf8d5153d56ae751af15ab9.tar.xz qemu-4cbadc40b99801488bf8d5153d56ae751af15ab9.zip |
hw/loongarch: remove acpi-build.c unused variable 'aml_len'
Fix a compiler warning on openbsd:
../src/hw/loongarch/acpi-build.c:416:12: warning: variable 'aml_len'
set but not used [-Wunused-but-set-variable]
size_t aml_len = 0;
^
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220721040046.3985609-1-gaosong@loongson.cn>
[rth: Removing aml_len in turn makes fadt set but not used.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'gdb-xml')
0 files changed, 0 insertions, 0 deletions