[Qemu-devel] [PATCH 1/2] block: delete a write-only variable

2010-12-18 Thread Blue Swirl
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 Signed-off-by: Blue Swirl --- block.c |5 - 1 files changed, 0 insertions(+), 5 deletions(

[Qemu-devel] [PATCH 1/2] block: delete a write-only variable

2010-12-17 Thread Blue Swirl
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 Signed-off-by: Blue Swirl --- block.c |5 - 1 files changed, 0 insertions(+), 5 deletions(