From 5b3687c54341a3ed8211e8e2a1286ca8fcd47d4c Mon Sep 17 00:00:00 2001 From: naddy Date: Thu, 20 Jan 2022 14:11:27 +0000 Subject: [PATCH] eigrpd: fix -Wunused-but-set-variable warning ok guenther@ --- usr.sbin/eigrpd/rde_dual.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/eigrpd/rde_dual.c b/usr.sbin/eigrpd/rde_dual.c index f1ed306e137..7fbc66c7102 100644 --- a/usr.sbin/eigrpd/rde_dual.c +++ b/usr.sbin/eigrpd/rde_dual.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_dual.c,v 1.28 2016/09/02 16:44:33 renato Exp $ */ +/* $OpenBSD: rde_dual.c,v 1.29 2022/01/20 14:11:27 naddy Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -1048,11 +1048,9 @@ rde_last_reply(struct rt_node *rn) struct eigrp *eigrp = rn->eigrp; struct eigrp_route *successor; struct rde_nbr *old_successor; - uint32_t old_fdistance; struct rinfo ri; old_successor = rn->successor.nbr; - old_fdistance = rn->successor.fdistance; switch (rn->state) { case DUAL_STA_ACTIVE0: -- 2.20.1