summaryrefslogtreecommitdiff
path: root/plugins/arm/instruction.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/arm/instruction.c')
-rw-r--r--plugins/arm/instruction.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/arm/instruction.c b/plugins/arm/instruction.c
index 3a7af7f..ae9721a 100644
--- a/plugins/arm/instruction.c
+++ b/plugins/arm/instruction.c
@@ -24,6 +24,7 @@
#include "instruction.h"
+#include <assert.h>
#include <malloc.h>
#include <string.h>
@@ -242,6 +243,12 @@ bool g_arm_instruction_set_cond(GArmInstruction *instr, ArmCondCode cond)
case ACC_LE: suffix = "le"; break;
case ACC_AL: suffix = NULL; break;
case ACC_NV: suffix = "nv"; break;
+
+ default: /* Pour GCC... */
+ assert(false);
+ suffix = NULL;
+ break;
+
}
if (suffix != NULL)