diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-10-17 20:10:45 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-10-17 20:10:45 +0000 |
commit | 6ebd6f0640abbc5048b4975c40fac23ec404930b (patch) | |
tree | e364116c961d5cba80890eb55637a78439f78bf8 /usr.bin/vi | |
parent | 4f4368721b2619584d945f74ab23327bad6ac500 (diff) |
remove "unused variable" warnings
tested by deraadt@ on a gcc2 arch
looks ok ray@ ok deraadt@
Diffstat (limited to 'usr.bin/vi')
-rw-r--r-- | usr.bin/vi/cl/cl_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/vi/cl/cl_main.c b/usr.bin/vi/cl/cl_main.c index 4dc0e354aa8..0cd9ccf8076 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.17 2006/04/22 03:09:15 ray Exp $ */ +/* $OpenBSD: cl_main.c,v 1.18 2007/10/17 20:10:44 chl Exp $ */ /*- * Copyright (c) 1993, 1994 @@ -62,8 +62,9 @@ main(argc, argv) GS *gp; size_t rows, cols; int rval; - char *ip_arg, *ttype; + char *ttype; #ifdef RUNNING_IP + char *ip_arg; char **p_av, **t_av; #endif |