Re: [Qemu-devel] [PATCH] qcow2: Silence false warning

2012-06-15 Thread malc
On Fri, 15 Jun 2012, Kevin Wolf wrote: > 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. > Applied, thanks. -- mailto:av1...@comtv.ru

[Qemu-devel] [PATCH] qcow2: Silence false warning

2012-06-15 Thread Kevin Wolf
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 Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c |2 ++ 1 files changed, 2 insertions(+),