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: Blue Swirl
Subject: [Qemu-devel] Re: [PATCH 2/2] ahci: delete write-only variables (v2)
Date: Sun, 19 Dec 2010 10:47:36 +0000

Thanks for the ack, applied.

On Sat, Dec 18, 2010 at 8:10 PM, Alexander Graf <address@hidden> wrote:
>
> 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]