[coreboot] [commit] r5351 - trunk/util/romcc
repository service
svn at coreboot.org
Sat Apr 3 02:03:12 CEST 2010
Author: stepan
Date: Sat Apr 3 02:03:07 2010
New Revision: 5351
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5351
Log:
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 at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified:
trunk/util/romcc/romcc.c
Modified: trunk/util/romcc/romcc.c
==============================================================================
--- trunk/util/romcc/romcc.c Sat Apr 3 00:31:35 2010 (r5350)
+++ trunk/util/romcc/romcc.c Sat Apr 3 02:03:07 2010 (r5351)
@@ -135,7 +135,7 @@
struct filelist *include_filelist = NULL;
-static void die(char *fmt, ...)
+static void __attribute__((noreturn)) die(char *fmt, ...)
{
va_list args;
More information about the coreboot
mailing list