diff options
author | Martijn van Duren <martijn@cvs.openbsd.org> | 2016-04-20 19:34:33 +0000 |
---|---|---|
committer | Martijn van Duren <martijn@cvs.openbsd.org> | 2016-04-20 19:34:33 +0000 |
commit | 917465c8700c1b5bbc8f2797903253e280e04e7b (patch) | |
tree | 0c9f182fa95bb8f70913ac160c62400430753ead /usr.bin/vi | |
parent | 42909edeb7fd51f1dce9d38524c10df96c31834d (diff) |
Remove pointless reenter variable.
OK millert@
Diffstat (limited to 'usr.bin/vi')
-rw-r--r-- | usr.bin/vi/cl/cl_main.c | 7 |
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(); |