diff options
Diffstat (limited to 'src/arch/raw.c')
-rw-r--r-- | src/arch/raw.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/raw.c b/src/arch/raw.c index e85d865..683d60f 100644 --- a/src/arch/raw.c +++ b/src/arch/raw.c @@ -506,7 +506,9 @@ static void g_raw_instruction_print(GRawInstruction *instr, GBufferLine *line, s GArchOperand *op; /* Opérande à manipuler */ GImmOperand *imm; /* Version opérande de valeur */ char byte; /* Octet à afficher (ou pas) */ +#ifndef NDEBUG bool status; /* Bilan d'une récupération */ +#endif base = G_ARCH_INSTRUCTION(instr); @@ -566,8 +568,12 @@ static void g_raw_instruction_print(GRawInstruction *instr, GBufferLine *line, s if (!instr->is_string && g_imm_operand_get_display(imm) != IOD_CHAR) goto grip_fallback; +#ifndef NDEBUG status = g_imm_operand_get_value(imm, MDS_8_BITS, &byte); assert(status); +#else + g_imm_operand_get_value(imm, MDS_8_BITS, &byte); +#endif /* Si le caractère doit apparaître en hexadécimal... */ |