aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2018-07-02 10:58:35 +0800
committerMax Reitz <mreitz@redhat.com>2018-07-09 19:43:24 +0200
commit65f1899e9bcd4faa147a5d907dc13fd7dbbbc0c7 (patch)
tree920c80fdff9aeb87fdbd27a668acd1c048993203 /block
parent9f850f67adc8d8b333cceae023a6462e184848cd (diff)
downloadqemu-65f1899e9bcd4faa147a5d907dc13fd7dbbbc0c7.zip
qemu-65f1899e9bcd4faa147a5d907dc13fd7dbbbc0c7.tar.gz
qemu-65f1899e9bcd4faa147a5d907dc13fd7dbbbc0c7.tar.bz2
qcow2: Drop unreachable break
Reported-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 20180702025836.20957-4-famz@redhat.com Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/qcow2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c
index d4ba0f7..f327116 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -3299,7 +3299,6 @@ qcow2_co_copy_range_from(BlockDriverState *bs,
case QCOW2_CLUSTER_COMPRESSED:
ret = -ENOTSUP;
goto out;
- break;
case QCOW2_CLUSTER_NORMAL:
child = bs->file;