diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-03-11 06:58:01 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-03-11 06:58:01 +0000 |
commit | d0404b721f4974d730b2175f03bee21d10fdecd1 (patch) | |
tree | f5ae7d1e6382cc9050d9960cd03926c1f2747b68 /usr.bin/vi/cl/cl_main.c | |
parent | 746279f1e389cf221d7b62b73e3a084f593e1e3c (diff) |
Silence 39 warnings.
ok miod, otto
Diffstat (limited to 'usr.bin/vi/cl/cl_main.c')
-rw-r--r-- | usr.bin/vi/cl/cl_main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/vi/cl/cl_main.c b/usr.bin/vi/cl/cl_main.c index 7d5a32bf160..60bcc550358 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.15 2006/01/08 21:05:39 miod Exp $ */ +/* $OpenBSD: cl_main.c,v 1.16 2006/03/11 06:58:00 ray Exp $ */ /*- * Copyright (c) 1993, 1994 @@ -62,7 +62,10 @@ main(argc, argv) GS *gp; size_t rows, cols; int rval; - char *ip_arg, **p_av, **t_av, *ttype; + char *ip_arg, *ttype; +#ifdef RUNNING_IP + char **p_av, **t_av; +#endif /* If loaded at 0 and jumping through a NULL pointer, stop. */ if (reenter++) |