Commit 1c918eba9aa037e5c48cf46a6e67fe2aa8e80d04
1 parent
7d99a001
Suppress i386 warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6304 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-i386/op_helper.c
... | ... | @@ -639,7 +639,7 @@ static void do_interrupt_protected(int intno, int is_int, int error_code, |
639 | 639 | target_ulong ptr, ssp; |
640 | 640 | int type, dpl, selector, ss_dpl, cpl; |
641 | 641 | int has_error_code, new_stack, shift; |
642 | - uint32_t e1, e2, offset, ss, esp, ss_e1, ss_e2; | |
642 | + uint32_t e1, e2, offset, ss = 0, esp, ss_e1 = 0, ss_e2 = 0; | |
643 | 643 | uint32_t old_eip, sp_mask; |
644 | 644 | |
645 | 645 | has_error_code = 0; |
... | ... | @@ -2271,7 +2271,7 @@ void helper_lcall_protected(int new_cs, target_ulong new_eip, |
2271 | 2271 | { |
2272 | 2272 | int new_stack, i; |
2273 | 2273 | uint32_t e1, e2, cpl, dpl, rpl, selector, offset, param_count; |
2274 | - uint32_t ss, ss_e1, ss_e2, sp, type, ss_dpl, sp_mask; | |
2274 | + uint32_t ss = 0, ss_e1 = 0, ss_e2 = 0, sp, type, ss_dpl, sp_mask; | |
2275 | 2275 | uint32_t val, limit, old_sp_mask; |
2276 | 2276 | target_ulong ssp, old_ssp, next_eip; |
2277 | 2277 | ... | ... |