From 9e72aa51a7a9ac5f041bacab75fd4be1e2a3356c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 16 Sep 2009 08:18:08 +0000 Subject: Fix some of the issues reported by LLVM/clang's scan-build Corresponding to flashrom svn r722. Signed-off-by: Stefan Reinauer This commit fixes only some of the issues, those that were Acked-by: Carl-Daniel Hailfinger --- 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.1