1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

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>
This commit is contained in:
Stefan Reinauer
2009-09-16 08:18:08 +00:00
committed by Stefan Reinauer
parent b08ee5c506
commit 9e72aa51a7
4 changed files with 20 additions and 27 deletions

View File

@ -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);