[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-xen-unstable] cirrus: fix an uninitialized variable
commit a4b276b4ce49c8d70dd841ff885b900ec652b994 Author: Jan Beulich <JBeulich@xxxxxxxx> AuthorDate: Mon Feb 2 16:49:59 2015 +0000 Commit: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CommitDate: Mon Feb 2 16:56:34 2015 +0000 cirrus: fix an uninitialized variable Noticed by paying attention to a compiler warning (reported for the only caller of the function modified, vga_ioport_read()). Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- hw/cirrus_vga.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 38c829a..a26b051 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -1658,8 +1658,8 @@ cirrus_hook_read_cr(CirrusVGAState * s, unsigned reg_index, int *reg_value) default: #ifdef DEBUG_CIRRUS printf("cirrus: inport cr_index %02x\n", reg_index); - *reg_value = 0xff; #endif + *reg_value = 0xff; break; } -- generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |