diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:38:07 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:38:07 +0000 |
commit | 83e3f76c2565a06877dc415ac9f5cf6f1c75614c (patch) | |
tree | 260358c66cbe2b017928cd6e84d9a7864f9b5669 /hw/cirrus_vga.c | |
parent | a2d3f69530b5b16947a8af0f184b3988eb64cadd (diff) |
block: avoid a write only variable
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.
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/cirrus_vga.c')
0 files changed, 0 insertions, 0 deletions