diff options
author | 2017-01-20 10:26:16 +0000 | |
---|---|---|
committer | 2017-01-20 10:26:16 +0000 | |
commit | 5c4e30b8f3861ab92c093a60a35e3acb8d6ba8a9 (patch) | |
tree | 84e6b5baa8dda6ac531994ab682dbce9bf68b3ec /usr.bin/sed/process.c | |
parent | if a route is not valid, set down instead of admindown (diff) | |
download | wireguard-openbsd-5c4e30b8f3861ab92c093a60a35e3acb8d6ba8a9.tar.xz wireguard-openbsd-5c4e30b8f3861ab92c093a60a35e3acb8d6ba8a9.zip |
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 */ } /* |