summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-10-08 09:27:57 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-10-08 09:27:57 +0000
commit9205d3a2fef96367981b2f3336a88ff9b3bc0df8 (patch)
tree0ec66448456ef924a89d289c4452aa76e793cd25
parent8da9fcb52bb06b91ed62e95c8043ddbaf067f478 (diff)
remove an unused variable, ok claudio@ henning@
-rw-r--r--usr.sbin/bgpd/rde.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index bdbf3a2d16f..9bb5fde5fc3 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.267 2009/10/05 12:03:45 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.268 2009/10/08 09:27:56 sthen Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -2154,7 +2154,6 @@ rde_send_pftable_commit(void)
void
rde_send_nexthop(struct bgpd_addr *next, int valid)
{
- size_t size;
int type;
if (valid)
@@ -2162,8 +2161,6 @@ rde_send_nexthop(struct bgpd_addr *next, int valid)
else
type = IMSG_NEXTHOP_REMOVE;
- size = sizeof(struct bgpd_addr);
-
if (imsg_compose(ibuf_main, type, 0, 0, -1, next,
sizeof(struct bgpd_addr)) == -1)
fatal("imsg_compose error");