Skip to content
  • Blue Swirl's avatar
    qcow2-refcount: remove write-only variables · 1869a653
    Blue Swirl authored
    
    
    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: default avatarBlue Swirl <blauwirbel@gmail.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    1869a653