summaryrefslogtreecommitdiff
path: root/usr.sbin/rad
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-01-17 18:04:36 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-01-17 18:04:36 +0000
commitc750db621a04c3e4f5a095f5fcf54f8c4e2bcc1b (patch)
treedb7e233df7645c8eac2578cd78befd6779a3670f /usr.sbin/rad
parentb2edc4e68060547cdef87f355e4f525d70a6d572 (diff)
rad: fix -Wunused-but-set-variable warning
ok florian@
Diffstat (limited to 'usr.sbin/rad')
-rw-r--r--usr.sbin/rad/frontend.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/rad/frontend.c b/usr.sbin/rad/frontend.c
index e6f6ae0419a..30bcde218c4 100644
--- a/usr.sbin/rad/frontend.c
+++ b/usr.sbin/rad/frontend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frontend.c,v 1.39 2021/01/19 16:54:48 florian Exp $ */
+/* $OpenBSD: frontend.c,v 1.40 2022/01/17 18:04:35 naddy Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -1222,9 +1222,6 @@ void
build_leaving_packet(struct ra_iface *ra_iface)
{
struct nd_router_advert ra;
- size_t len;
-
- len = sizeof(ra);
memset(&ra, 0, sizeof(ra));