summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-09-06 05:04:08 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-09-06 05:04:08 +0000
commitce3776a3f33c2add4ad9b3ced94efe386089f3d0 (patch)
tree3bc7e1cd379409d7aaa74d6704328615d7c61259 /usr.bin
parent98ea2b4c9e36cb21e4a6967324414212b137cb6d (diff)
remove unused variable
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tput/tput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tput/tput.c b/usr.bin/tput/tput.c
index 3b4e5dfce28..b2e4e0a7aa4 100644
--- a/usr.bin/tput/tput.c
+++ b/usr.bin/tput/tput.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tput.c,v 1.28 2023/02/08 15:56:32 millert Exp $ */
+/* $OpenBSD: tput.c,v 1.29 2023/09/06 05:04:07 jsg Exp $ */
/*
* Copyright (c) 1999 Todd C. Miller <millert@openbsd.org>
@@ -193,7 +193,7 @@ main(int argc, char *argv[])
static char **
process(char *cap, char *str, char **argv)
{
- char *cp, *s, *nargv[NUM_PARM] = {0};
+ char *s, *nargv[NUM_PARM] = {0};
char *p_is_s[NUM_PARM];
int arg_need, i;