Dont set @mod twice

pvs-studio: V519 The 'mod' variable is assigned values twice successively.
Perhaps this is a mistake. Check lines: 398, 405.

Signed-off-by: Martin Lindhe <martin-commit@ubique.se>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Martin Lindhe 2016-11-16 15:23:18 +01:00 committed by Cyrill Gorcunov
parent abd28c9ab9
commit e29e321e62

View File

@ -395,7 +395,6 @@ static uint8_t *do_ea(uint8_t *data, int modrm, int asize,
if (segsize == 64) {
op->eaflags |= EAF_REL;
op->segment |= SEG_RELATIVE;
mod = 2; /* fake disp32 */
}
if (asize != 64)