block: delete a write-only variable
authorBlue Swirl <blauwirbel@gmail.com>
Thu, 6 Jan 2011 18:25:37 +0000 (18:25 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 6 Jan 2011 18:25:37 +0000 (18:25 +0000)
commitee575dfd5efd79012cddd7c65874871ce633a220
tree05b57fa4e0d22abded5f2a5fa2aaac3f6839af42
parent6baf79ae27e1a816e52f1e2411732704ac2d5e93
block: delete a write-only variable

Avoid a warning with GCC 4.6.0:
/src/qemu/block.c: In function 'bdrv_img_create':
/src/qemu/block.c:2862:25: error: variable 'fmt' set but not used [-Werror=unused-but-set-variable]

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