Fix issues detected by static analysis

This commit is contained in:
Stéphane Lesimple
2025-04-11 19:21:28 +02:00
parent d01aae080e
commit 64f31a8e5d
15 changed files with 36 additions and 24 deletions

View File

@@ -689,6 +689,10 @@ void Stop(char *format, ...)
{ FreeClosure();
exit(EXIT_FAILURE);
}
/* code below should never be reachable, exit to make static analysis happy,
and make the ((noreturn)) attribute right in all cases */
exit(EXIT_FAILURE);
}
/*