From f5976b1b5f87bc5149be1c681adeae770cf95b00 Mon Sep 17 00:00:00 2001 From: stepan Date: Wed, 16 Sep 2009 08:18:08 +0000 Subject: this patch fixes all 27 flashrom source code issues reported by LLVM/clang's scan-build (r79326, new build on the way). Signed-off-by: Stefan Reinauer This commit fixes only some of the issues, those that were Acked-by: Carl-Daniel Hailfinger git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@722 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- serprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'serprog.c') diff --git a/serprog.c b/serprog.c index ee72da3..69d0c08 100644 --- a/serprog.c +++ b/serprog.c @@ -95,7 +95,7 @@ static int sp_opbuf_usage = 0; whether the command is supported before doing it */ static int sp_check_avail_automatic = 0; -static void sp_die(char *msg) +static void __attribute__((noreturn)) sp_die(char *msg) { perror(msg); exit(1); -- cgit v1.2.1