summaryrefslogtreecommitdiff
path: root/usr.bin/w
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-09-15 07:14:59 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-09-15 07:14:59 +0000
commitced95e1c1f1b1df5e2140aafdbf4d5a42c765a82 (patch)
tree4b207f2b49b9fc5aa004fe24884a8091886023ac /usr.bin/w
parentfc9df56613b97739c442fc3f34e9b014b6c4085f (diff)
remove unused variables
Diffstat (limited to 'usr.bin/w')
-rw-r--r--usr.bin/w/w.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index d5d50833119..1c794993ada 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: w.c,v 1.69 2024/08/19 07:28:22 florian Exp $ */
+/* $OpenBSD: w.c,v 1.70 2024/09/15 07:14:58 jsg Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -107,7 +107,6 @@ main(int argc, char *argv[])
struct kinfo_proc *kp;
struct stat *stp;
FILE *ut;
- struct in_addr addr;
int ch, i, nentries, nusers, wcmd;
char *memf, *nlistf, *p, *x;
char buf[HOST_NAME_MAX+1], errbuf[_POSIX2_LINE_MAX];