qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/loongarch: remove acpi-build.c unused variable 'aml_len'


From: Richard Henderson
Subject: Re: [PATCH] hw/loongarch: remove acpi-build.c unused variable 'aml_len'
Date: Fri, 5 Aug 2022 08:22:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 7/20/22 21:00, Song Gao wrote:
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>
---
  hw/loongarch/acpi-build.c | 8 --------
  1 file changed, 8 deletions(-)

Thanks, queued.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]