qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 01/12] block: avoid a write only variable


From: Kevin Wolf
Subject: [Qemu-devel] Re: [PATCH 01/12] block: avoid a write only variable
Date: Mon, 11 Oct 2010 10:10:46 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7

Am 08.10.2010 23:23, schrieb Blue Swirl:
> Compiling with GCC 4.6.0 20100925 produced a warning:
> /src/qemu/block/qcow2-refcount.c: In function 'update_refcount':
> /src/qemu/block/qcow2-refcount.c:552:13: error: variable 'dummy' set
> but not used [-Werror=unused-but-set-variable]
> 
> Fix by adding a dummy cast so that the result is not unused.
> 
> Signed-off-by: Blue Swirl <address@hidden>

Acked-by: Kevin Wolf <address@hidden>



reply via email to

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