diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 6d302ec50ba..101b3f84dfe 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -7234,7 +7234,9 @@ print_mve_unpredictable (struct disassemble_info *info, { void *stream = info->stream; fprintf_styled_ftype func = info->fprintf_styled_func; - const char *reason; + /* Initialize REASON to avoid compiler warning about uninitialized + usage, though such usage should be impossible. */ + const char *reason = "??"; switch (unpredict_code) {