From e29e321e62c44bf2b65f40127e7914d52152878b Mon Sep 17 00:00:00 2001 From: Martin Lindhe Date: Wed, 16 Nov 2016 15:23:18 +0100 Subject: 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 Signed-off-by: Cyrill Gorcunov --- disasm/disasm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'disasm') diff --git a/disasm/disasm.c b/disasm/disasm.c index 8e759fe4..76ebcdf1 100644 --- a/disasm/disasm.c +++ b/disasm/disasm.c @@ -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) -- cgit v1.2.1