qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 2/2] ahci: delete write-only variables (v2)


From: Alexander Graf
Subject: [Qemu-devel] Re: [PATCH 2/2] ahci: delete write-only variables (v2)
Date: Sat, 18 Dec 2010 21:10:25 +0100

On 18.12.2010, at 21:00, Blue Swirl wrote:

> Avoid these warnings with GCC 4.6.0:
> /src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port':
> /src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set but not used
> [-Werror=unused-but-set-variable]
> /src/qemu/hw/ide/ahci.c: In function 'handle_cmd':
> /src/qemu/hw/ide/ahci.c:1103:19: error: variable 'pr' set but not used
> [-Werror=unused-but-set-variable]
> 
> In the tfd variable case, fix the logic also.
> 
> CC: Alexander Graf <address@hidden>
> CC: Kevin Wolf <address@hidden>
> Signed-off-by: Blue Swirl <address@hidden>

Acked-by: Alexander Graf <address@hidden>


Alex




reply via email to

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