diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-04-02 14:43:47 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-04-02 14:43:47 (GMT) |
commit | f9404bf68a067b06986cd85855c43795ec578dbd (patch) | |
tree | 57f481aced2c69ddf6ac9766f310be86ebe03f6f /plugins/arm/instruction.c | |
parent | d69503d7aeceddc52dfee9481e6a0e8ba9c1fc85 (diff) |
Removed lots of uninitialized uses, mostly in NDEBUG mode.
Diffstat (limited to 'plugins/arm/instruction.c')
-rw-r--r-- | plugins/arm/instruction.c | 7 |
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) |