Add noreturn attribute to die() in romcc.
This makes life a lot easier for static analyzers such as scan-build. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5351 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
26afd18e10
commit
bed872dedf
|
@ -135,7 +135,7 @@ struct filelist {
|
||||||
|
|
||||||
struct filelist *include_filelist = NULL;
|
struct filelist *include_filelist = NULL;
|
||||||
|
|
||||||
static void die(char *fmt, ...)
|
static void __attribute__((noreturn)) die(char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue