summaryrefslogtreecommitdiff
path: root/plugins/arm/v7
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-04-02 14:43:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-04-02 14:43:47 (GMT)
commitf9404bf68a067b06986cd85855c43795ec578dbd (patch)
tree57f481aced2c69ddf6ac9766f310be86ebe03f6f /plugins/arm/v7
parentd69503d7aeceddc52dfee9481e6a0e8ba9c1fc85 (diff)
Removed lots of uninitialized uses, mostly in NDEBUG mode.
Diffstat (limited to 'plugins/arm/v7')
-rw-r--r--plugins/arm/v7/processor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/arm/v7/processor.c b/plugins/arm/v7/processor.c
index 5bbe808..0203f32 100644
--- a/plugins/arm/v7/processor.c
+++ b/plugins/arm/v7/processor.c
@@ -281,8 +281,9 @@ static GArchInstruction *g_armv7_processor_disassemble(const GArmV7Processor *pr
break;
- default:
- assert(0);
+ default: /* Pour GCC... */
+ assert(false);
+ result = NULL;
break;
}