summaryrefslogtreecommitdiffstats
path: root/serprog.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-09-16 08:18:08 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2009-09-16 08:18:08 +0000
commit9e72aa51a7a9ac5f041bacab75fd4be1e2a3356c (patch)
tree375d71717241476bec265568958024db7eee3e37 /serprog.c
parentb08ee5c50619d90fd35a1dd06228b952c67dda0b (diff)
downloadast2050-flashrom-9e72aa51a7a9ac5f041bacab75fd4be1e2a3356c.zip
ast2050-flashrom-9e72aa51a7a9ac5f041bacab75fd4be1e2a3356c.tar.gz
Fix some of the issues reported by LLVM/clang's scan-build
Corresponding to flashrom svn r722. 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>
Diffstat (limited to 'serprog.c')
-rw-r--r--serprog.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud