summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-11-05 14:33:28 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-11-05 14:33:28 +0000
commit5ba250d770a9426842bc772a1b6a59c9e6221bc8 (patch)
tree0b6c6c282c08560c1e9d9d5739378e170d8b0fe4
parent0c65647b86ffe1a5339c88c04714922e5185a847 (diff)
Kill dead assignement.
-rw-r--r--usr.sbin/ospf6d/kroute.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/kroute.c b/usr.sbin/ospf6d/kroute.c
index 11fb77f8ebb..58e4f72f287 100644
--- a/usr.sbin/ospf6d/kroute.c
+++ b/usr.sbin/ospf6d/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.52 2017/06/19 19:55:57 friehm Exp $ */
+/* $OpenBSD: kroute.c,v 1.53 2017/11/05 14:33:27 jca Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -369,7 +369,6 @@ kr_show_route(struct imsg *imsg)
return;
}
memcpy(&addr, imsg->data, sizeof(addr));
- kr = NULL;
kr = kroute_match(&addr);
if (kr != NULL)
main_imsg_compose_ospfe(IMSG_CTL_KROUTE, imsg->hdr.pid,