aboutsummaryrefslogtreecommitdiff
path: root/target-i386/op_helper.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-14 19:27:02 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-14 19:27:02 +0000
commit1c918eba9aa037e5c48cf46a6e67fe2aa8e80d04 (patch)
tree0d62897de2fe705d995503cc3c4917a3687a9ef0 /target-i386/op_helper.c
parent7d99a001df854ef950a128000cbd982c4f6cd616 (diff)
Suppress i386 warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6304 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/op_helper.c')
-rw-r--r--target-i386/op_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index a36c959a5b..1863482784 100644
--- a/target-i386/op_helper.c
+++ b/target-i386/op_helper.c
@@ -639,7 +639,7 @@ static void do_interrupt_protected(int intno, int is_int, int error_code,
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 @@ void helper_lcall_protected(int new_cs, target_ulong new_eip,
{
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;