Initialize imm variable
This is a small issue pointed out by Coverity; this variable might be later used uninitialized in several places. Making this change to test if Coverity updates report summary only after the numbers actually changed (we just had fresh scan, but Coverity keeps showing summary from few days ago).
This commit is contained in:
parent
5c8b1edeb0
commit
7677511aa3
1 changed files with 1 additions and 2 deletions
|
@ -1067,9 +1067,8 @@ static INLINE void dyn_get_modrm(void) {
|
|||
static void dyn_fill_ea(bool addseg=true, DynReg * reg_ea=DREG(EA)) {
|
||||
DynReg * segbase;
|
||||
if (!decode.big_addr) {
|
||||
Bits imm;
|
||||
Bits imm = 0;
|
||||
switch (decode.modrm.mod) {
|
||||
case 0:imm=0;break;
|
||||
case 1:imm=(Bit8s)decode_fetchb();break;
|
||||
case 2:imm=(Bit16s)decode_fetchw();break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue