diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-07-12 20:40:05 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-07-12 20:40:05 +0000 |
commit | 354ff22657efbe48b4334bc8a77fa10faa51ca48 (patch) | |
tree | 09906722bf0d98264e31101585993667cd4a63a6 /target-i386 | |
parent | 6b65279459acab4b4ad50451b73436a357e7b1b7 (diff) |
avoid warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1013 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 46aa7b1ca6..3a6568e05b 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1574,6 +1574,7 @@ static inline void helper_ret_protected(int shift, int is_iret, int addend) sp_mask = get_sp_mask(env->segs[R_SS].flags); sp = ESP; ssp = env->segs[R_SS].base; + new_eflags = 0; /* avoid warning */ if (shift == 1) { /* 32 bits */ POPL(ssp, sp, sp_mask, new_eip); |