avoid warning
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 12 Jul 2004 20:40:05 +0000 (20:40 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 12 Jul 2004 20:40:05 +0000 (20:40 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1013 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/helper.c

index 46aa7b1..3a6568e 100644 (file)
@@ -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);