qemu/block
Blue Swirl 83e3f76c25 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>
2010-10-13 18:38:07 +00:00
..
blkdebug.c blkdebug: fix enum comparison 2010-09-18 05:53:15 +00:00
blkverify.c block-verify: fix 32-bit build 2010-09-22 14:46:33 -05:00
bochs.c bochs: use qemu block API 2010-05-17 10:20:05 +02:00
cloop.c cloop: use qemu block API 2010-05-17 10:20:04 +02:00
cow.c cow: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
curl.c Fix %lld or %llx printf format use 2010-05-22 08:02:12 +00:00
dmg.c dmg: use qemu block API 2010-05-17 10:20:05 +02:00
nbd.c nbd: correctly manage default port 2010-09-21 15:39:42 +02:00
parallels.c parallels: use qemu block API 2010-05-17 10:20:05 +02:00
qcow.c qcow: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
qcow2-cluster.c qcow2: Avoid bounce buffers for AIO read requests 2010-09-21 15:39:42 +02:00
qcow2-refcount.c block: avoid a write only variable 2010-10-13 18:38:07 +00:00
qcow2-snapshot.c qcow2: Move sync out of qcow2_alloc_clusters 2010-09-21 15:39:42 +02:00
qcow2.c qcow2: Avoid bounce buffers for AIO write requests 2010-09-21 15:39:43 +02:00
qcow2.h qcow2: Avoid bounce buffers for AIO read requests 2010-09-21 15:39:42 +02:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c raw-posix: handle > 512 byte alignment correctly 2010-09-21 15:39:42 +02:00
raw-win32.c block: Fix bdrv_has_zero_init 2010-08-03 15:57:22 +02:00
raw.c Revert "Make default invocation of block drivers safer (v3)" 2010-09-08 17:09:15 -05:00
sheepdog.c sheepdog: remove unnecessary includes 2010-08-30 18:29:22 +02:00
vdi.c qcow2/vdi: Change check to distinguish error cases 2010-07-06 17:05:49 +02:00
vmdk.c vmdk: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
vpc.c vpc: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
vvfat.c block/vvfat: Fix compiler warning in debug code 2010-10-03 06:40:54 +00:00