Commit 5fab243a authored by Daniel Stone's avatar Daniel Stone

scanner: Mark fail() as noreturn

Help static analysers by letting them know that once we fail(),
execution will terminally complete.
Signed-off-by: Daniel Stone's avatarDaniel Stone <>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <>
parent a2ed67e8
......@@ -371,7 +371,7 @@ desc_dump(char *desc, const char *fmt, ...)
static void
static void __attribute__ ((noreturn))
fail(struct location *loc, const char *msg, ...)
va_list ap;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment