diff options
author | stepan <stepan@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-09-16 08:18:08 +0000 |
---|---|---|
committer | stepan <stepan@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-09-16 08:18:08 +0000 |
commit | f5976b1b5f87bc5149be1c681adeae770cf95b00 (patch) | |
tree | 375d71717241476bec265568958024db7eee3e37 /serprog.c | |
parent | 5f4ebd6afdd7424f579ad702fde80e9072e2d82a (diff) | |
download | flashrom-f5976b1b5f87bc5149be1c681adeae770cf95b00.tar.gz |
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 <stepan@coresystems.de>
This commit fixes only some of the issues, those that were
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@722 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'serprog.c')
-rw-r--r-- | serprog.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |