summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2020-07-20 02:24:25 +0000
committerkn <kn@cvs.openbsd.org>2020-07-20 02:24:25 +0000
commitf67036f098d0bd2587b252167627c375d30a2719 (patch)
tree40b5b0a89557920e1bfc7a32834b84ced878b68f /usr.sbin
parent913dfc5887b7f16a7f1925b2f4f30170e14bab58 (diff)
Remove unused variable "caplen"
No object change.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/tcpdump/print-wg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-wg.c b/usr.sbin/tcpdump/print-wg.c
index 595c0d66041..70a61bd6ad4 100644
--- a/usr.sbin/tcpdump/print-wg.c
+++ b/usr.sbin/tcpdump/print-wg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-wg.c,v 1.4 2020/06/21 07:14:17 tb Exp $ */
+/* $OpenBSD: print-wg.c,v 1.5 2020/07/20 02:24:24 kn Exp $ */
/*
* Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
@@ -63,7 +63,6 @@ struct wg_data {
uint32_t
wg_match(const u_char *bp, u_int length)
{
- u_int caplen;
uint32_t type;
if (length < sizeof(type))