qcow2-refcount: remove write-only variables
commit1869a65385e9d81f490b4203dd070cc49b7749c9
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 29 Jan 2011 08:19:15 +0000 (29 08:19 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Jan 2011 09:05:34 +0000 (31 10:05 +0100)
treef5d9fa7cce72fc894a16a7c2f323c33f1b8f67a1
parent31e1ea3ee7d05ab1aa134fe07a8f33b42417641f
qcow2-refcount: remove write-only variables

Variables l2_modified and l2_size are not really used, remove them.
Spotted by GCC 4.6.0:
  CC    block/qcow2-refcount.o
/src/qemu/block/qcow2-refcount.c: In function 'qcow2_update_snapshot_refcount':
/src/qemu/block/qcow2-refcount.c:708:37: error: variable 'l2_modified' set but not used [-Werror=unused-but-set-variable]
/src/qemu/block/qcow2-refcount.c:708:9: error: variable 'l2_size' set but not used [-Werror=unused-but-set-variable]

CC: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-refcount.c