target/i386: Fix compiler warnings
commita4926d99129a1d8072fc4681cd4efdb214f65ed4
authorStefan Weil <sw@weilnetz.de>
Mon, 13 Nov 2017 06:48:45 +0000 (13 07:48 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Dec 2017 08:22:44 +0000 (21 09:22 +0100)
tree5853f72e28205dc2109250d17c152f6169454a6b
parentd84be02d69a23dea249f351324d497f613994129
target/i386: Fix compiler warnings

These gcc warnings are fixed:

target/i386/translate.c:4461:12: warning:
 variable 'prefixes' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
target/i386/translate.c:4466:9: warning:
 variable 'rex_w' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
target/i386/translate.c:4466:16: warning:
 variable 'rex_r' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]

Tested with x86_64-w64-mingw32-gcc from Debian stretch.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20171113064845.29142-1-sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/translate.c