summary refs log tree commit diff stats
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-01-29 08:19:15 +0000
committerKevin Wolf <kwolf@redhat.com>2011-01-31 10:05:34 +0100
commit1869a65385e9d81f490b4203dd070cc49b7749c9 (patch)
treef5d9fa7cce72fc894a16a7c2f323c33f1b8f67a1 /hw/qdev.c
parent31e1ea3ee7d05ab1aa134fe07a8f33b42417641f (diff)
downloadfocaccia-qemu-1869a65385e9d81f490b4203dd070cc49b7749c9.tar.gz
focaccia-qemu-1869a65385e9d81f490b4203dd070cc49b7749c9.zip
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>
Diffstat (limited to 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions