From 16cdbb244cded6f3d8df719b7a0217fdf6bf327d Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 21 Apr 2009 20:14:31 +0000 Subject: Eliminate various issues brought up by scan-build. Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4152 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/nrv2b/nrv2b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/nrv2b') diff --git a/util/nrv2b/nrv2b.c b/util/nrv2b/nrv2b.c index b9e1c10648..e341a7b61d 100644 --- a/util/nrv2b/nrv2b.c +++ b/util/nrv2b/nrv2b.c @@ -65,7 +65,7 @@ FILE *infile, *outfile; #define BITSIZE 32 #endif -static __inline__ void Error(char *message) +static __inline__ __attribute__((noreturn)) void Error(char *message) { Fprintf((stderr, "\n%s\n", message)); exit(EXIT_FAILURE); -- cgit v1.2.3