summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2016-04-20 19:34:33 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2016-04-20 19:34:33 +0000
commit917465c8700c1b5bbc8f2797903253e280e04e7b (patch)
tree0c9f182fa95bb8f70913ac160c62400430753ead /usr.bin
parent42909edeb7fd51f1dce9d38524c10df96c31834d (diff)
Remove pointless reenter variable.
OK millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vi/cl/cl_main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/vi/cl/cl_main.c b/usr.bin/vi/cl/cl_main.c
index fb1045f2ee6..603aadde93d 100644
--- a/usr.bin/vi/cl/cl_main.c
+++ b/usr.bin/vi/cl/cl_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl_main.c,v 1.31 2016/02/03 01:47:25 mmcc Exp $ */
+/* $OpenBSD: cl_main.c,v 1.32 2016/04/20 19:34:32 martijn Exp $ */
/*-
* Copyright (c) 1993, 1994
@@ -48,17 +48,12 @@ static void term_init(char *);
int
main(int argc, char *argv[])
{
- static int reenter;
CL_PRIVATE *clp;
GS *gp;
size_t rows, cols;
int rval;
char *ttype;
- /* If loaded at 0 and jumping through a NULL pointer, stop. */
- if (reenter++)
- abort();
-
/* Create and initialize the global structure. */
__global_list = gp = gs_init();