Skip to contentSkip to conversation

[6304] Suppress i386 warnings

Qemu-devel Blue Swirl 1 participant 1 message Jan 14, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6304

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6304
Author:   blueswir1
Date:     2009-01-14 19:27:02 +0000 (Wed, 14 Jan 2009)

Log Message:
-----------
Suppress i386 warnings

Modified Paths:
--------------

    trunk/target-i386/op_helper.c

Modified: trunk/target-i386/op_helper.c
===================================================================

target-i386/op_helper.c +2 -2
@@ -639,7 +639,7 @@
     target_ulong ptr, ssp;
     int type, dpl, selector, ss_dpl, cpl;
     int has_error_code, new_stack, shift;
-    uint32_t e1, e2, offset, ss, esp, ss_e1, ss_e2;
+    uint32_t e1, e2, offset, ss = 0, esp, ss_e1 = 0, ss_e2 = 0;
     uint32_t old_eip, sp_mask;
 
     has_error_code = 0;
@@ -2271,7 +2271,7 @@
 {
     int new_stack, i;
     uint32_t e1, e2, cpl, dpl, rpl, selector, offset, param_count;
-    uint32_t ss, ss_e1, ss_e2, sp, type, ss_dpl, sp_mask;
+    uint32_t ss = 0, ss_e1 = 0, ss_e2 = 0, sp, type, ss_dpl, sp_mask;
     uint32_t val, limit, old_sp_mask;
     target_ulong ssp, old_ssp, next_eip;