|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-xen-4.3-testing] cirrus: fix an uninitialized variable
commit 9550be0726b577cf038691c77d8c924c43e7cebd
Author: Jan Beulich <JBeulich@xxxxxxxx>
AuthorDate: Mon Feb 2 16:49:59 2015 +0000
Commit: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Mon Feb 16 14:51:25 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>
(cherry picked from commit a4b276b4ce49c8d70dd841ff885b900ec652b994)
(cherry picked from commit 3499745d3a8561cce67f3d4fbc2da60401253ad4)
(cherry picked from commit e052bfcd0f2b0776f1f39f8282446ba8601bde82)
---
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-4.3-testing.git
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |