summaryrefslogtreecommitdiff
path: root/plugins/fmtp
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-04-29 09:53:28 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-04-29 09:53:28 (GMT)
commitb16071a35adaf95d5e67b0dd984e9ba9d7ba28f9 (patch)
tree10470449f230593ea62f696e30e647a1c8d95ed2 /plugins/fmtp
parentaead324676d997c30aac2851f4a37125db195d3e (diff)
Improved the behavior of immediate operands display.
Diffstat (limited to 'plugins/fmtp')
-rw-r--r--plugins/fmtp/parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/fmtp/parser.c b/plugins/fmtp/parser.c
index 2f469c1..b484a0e 100644
--- a/plugins/fmtp/parser.c
+++ b/plugins/fmtp/parser.c
@@ -95,7 +95,6 @@ static bool parse_field_definition(const fmt_field_def *def, GBinFormat *format,
imm = G_IMM_OPERAND(g_arch_instruction_get_operand(instr, i));
g_imm_operand_set_default_display(&imm, def->disp_rules[i], G_SHARE_CONTAINER(instr));
- g_imm_operand_set_display(&imm, def->disp_rules[i], G_SHARE_CONTAINER(instr));
// TODO : unref(imm)