artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b34a88
)
rad: fix -Wunused-but-set-variable warning
author
naddy
<naddy@openbsd.org>
Mon, 17 Jan 2022 18:04:35 +0000
(18:04 +0000)
committer
naddy
<naddy@openbsd.org>
Mon, 17 Jan 2022 18:04:35 +0000
(18:04 +0000)
ok florian@
usr.sbin/rad/frontend.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rad/frontend.c
b/usr.sbin/rad/frontend.c
index
e6f6ae0
..
30bcde2
100644
(file)
--- 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));