1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Marked unused parameters as unused.

This commit is contained in:
Ondrej Filip
2004-06-07 09:52:15 +00:00
parent fb257e43fc
commit 19d9e30336
5 changed files with 24 additions and 18 deletions

View File

@@ -495,8 +495,10 @@ krt_got_route(struct krt_proto *p, rte *e)
{
rte *old;
net *net = e->net;
int src = e->u.krt.src;
int verdict;
#ifdef KRT_ALLOW_LEARN
int src = e->u.krt.src;
#endif
#ifdef CONFIG_AUTO_ROUTES
if (e->attrs->dest == RTD_DEVICE)
@@ -616,7 +618,11 @@ krt_prune(struct krt_proto *p)
}
void
krt_got_route_async(struct krt_proto *p, rte *e, int new)
krt_got_route_async(struct krt_proto *p, rte *e, int new
#ifndef KRT_ALLOW_LEARN
UNUSED
#endif
)
{
net *net = e->net;
int src = e->u.krt.src;