[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86_emulate: Fix use-before-initialise warning.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1196167508 0 # Node ID 3b71ee29c2826eeb5945e5f1745b61987ae9487c # Parent 26e766e0c62809e63b9c0082a99e14b41d729a18 x86_emulate: Fix use-before-initialise warning. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/x86_emulate.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 26e766e0c628 -r 3b71ee29c282 xen/arch/x86/x86_emulate.c --- a/xen/arch/x86/x86_emulate.c Mon Nov 26 22:28:48 2007 +0000 +++ b/xen/arch/x86/x86_emulate.c Tue Nov 27 12:45:08 2007 +0000 @@ -2706,8 +2706,8 @@ x86_emulate( goto done; break; case 4: /* smsw */ + ea.bytes = 2; dst = ea; - dst.bytes = 2; fail_if(ops->read_cr == NULL); if ( (rc = ops->read_cr(0, &dst.val, ctxt)) ) goto done; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |