diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-01-20 10:26:17 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-01-20 10:26:17 +0000 |
commit | 429dafba6d12db9382edb88285bbc77ccffa5613 (patch) | |
tree | 33772f2a6fb00bd4f9ea1afd3734114ddad9da38 /usr.bin/sed/process.c | |
parent | e8dd6f5a53004089bc93d9d41fd25f679cee8e17 (diff) |
Split error() into error() and warning() so error() can be marked __dead to
appease gcc.
ok procter@ deraadt@
Diffstat (limited to 'usr.bin/sed/process.c')
-rw-r--r-- | usr.bin/sed/process.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 16823ece1f3..81bf2ad322b 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.29 2016/10/11 19:27:39 martijn Exp $ */ +/* $OpenBSD: process.c,v 1.30 2017/01/20 10:26:16 krw Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -539,7 +539,6 @@ regexec_e(regex_t *preg, const char *string, int eflags, return (0); } error(FATAL, "RE error: %s", strregerror(eval, defpreg)); - /* NOTREACHED */ } /* |