]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Silence false warning
authorKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2012 11:43:18 +0000 (13:43 +0200)
committermalc <av1474@comtv.ru>
Fri, 15 Jun 2012 11:52:45 +0000 (15:52 +0400)
commit1417d7e40eaf1418333fb2ec43d0c7f4245b10e7
treeda949942ea1929d9185757c2e69086cd6232277e
parentda9fa17ee9bece7e7ef54681832427c1d6baf554
qcow2: Silence false warning

Some gcc versions seem not to be able to figure out that the switch
statement covers all possible values and that c is therefore always
initialised. Add a default branch for them.

Reported-by: malc <av1474@comtv.ru>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
block/qcow2-cluster.c