From 5920a1b5e19e529ab3a3972348a6d53bcd90acfc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 2 Dec 2020 10:26:09 -0500 Subject: Give messages to unconditional assertion failures --- ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctx.c') diff --git a/ctx.c b/ctx.c index 8f623e5..72ed969 100644 --- a/ctx.c +++ b/ctx.c @@ -50,7 +50,7 @@ const char *debug_flag_name(enum debug_flags flag) { break; } - assert(false); + assert(!"Unrecognized debug flag"); return "???"; } -- cgit v1.2.3