mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
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:
parent
abd28c9ab9
commit
e29e321e62
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user