Re: [Qemu-devel] [PATCH] vga: Silence bogus gcc warning about uninitialized variables

2011-08-25 Thread Anthony Liguori
On 08/25/2011 04:10 AM, Jan Kiszka wrote: Some gcc versions do not properly detect that all possible cases are covered and base and size are always initialized. Please gcc by defining a pseudo default case. Signed-off-by: Jan Kiszka Applied. Thanks. Regards, Anthony Liguori --- hw/vga.c

[Qemu-devel] [PATCH] vga: Silence bogus gcc warning about uninitialized variables

2011-08-25 Thread Jan Kiszka
Some gcc versions do not properly detect that all possible cases are covered and base and size are always initialized. Please gcc by defining a pseudo default case. Signed-off-by: Jan Kiszka --- hw/vga.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/vga.c b/hw/vga.c