summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regexec.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1997-04-30 05:51:09 +0000
committertholo <tholo@openbsd.org>1997-04-30 05:51:09 +0000
commit63d6eaa8ef513ec3f11d29e66989df47e6c88795 (patch)
treed4c48cea095066cb6f8cabda31bf42af77e8d470 /lib/libc/regex/regexec.c
parentDon't do pointer arithmetic on void pointers (diff)
downloadwireguard-openbsd-63d6eaa8ef513ec3f11d29e66989df47e6c88795.tar.xz
wireguard-openbsd-63d6eaa8ef513ec3f11d29e66989df47e6c88795.zip
Remove dead code and variables
Diffstat (limited to 'lib/libc/regex/regexec.c')
-rw-r--r--lib/libc/regex/regexec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/regex/regexec.c b/lib/libc/regex/regexec.c
index 2175e7c64b3..8b04cef5c78 100644
--- a/lib/libc/regex/regexec.c
+++ b/lib/libc/regex/regexec.c
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)regexec.c 8.3 (Berkeley) 3/20/94";
#else
-static char rcsid[] = "$OpenBSD: regexec.c,v 1.6 1997/04/28 20:45:01 millert Exp $";
+static char rcsid[] = "$OpenBSD: regexec.c,v 1.7 1997/04/30 05:51:10 tholo Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -63,8 +63,6 @@ static char rcsid[] = "$OpenBSD: regexec.c,v 1.6 1997/04/28 20:45:01 millert Exp
#include "utils.h"
#include "regex2.h"
-static int nope = 0; /* for use in asserts; shuts lint up */
-
/* macros for manipulating states, small version */
#define states long
#define states1 states /* for later use in regexec() decision */