summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-04-03 12:23:02 +0200
committerUlf Hermann <[email protected]>2017-05-08 09:35:55 +0000
commit8ac52d75d47da355c4ace3224161de097db3e8d9 (patch)
tree5599e82d1922366ba005bc6787865f38ff676219
parent416741d54a7dbebbd7a8dce75254f27d3a5ccd11 (diff)
Workaround compiler not seeing assert(false)
Change-Id: I6ea2f6f6684ce1df10c7008ad4a894c9205a267c Reviewed-by: Christian Kandeler <[email protected]>
-rw-r--r--libcpu/i386_disasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcpu/i386_disasm.c b/libcpu/i386_disasm.c
index 831afbe2..b48025fb 100644
--- a/libcpu/i386_disasm.c
+++ b/libcpu/i386_disasm.c
@@ -821,6 +821,7 @@ i386_disasm (Ebl *ebl __attribute__((unused)),
}
/* Fallthrough */
default:
+ str = "invalid";
assert (! "INVALID not handled");
}
}