From 93a786cb034fdd18b8131a16a6ea3d1cd9bd00de Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 4 May 2000 20:30:36 +0000 Subject: Removed a lot of unused variables. Please try compiling your code with --enable-warnings to see them. (The unused parameter warnings are usually bogus, the unused variable ones are very useful, but gcc is unable to control them separately.) --- sysdep/unix/krt.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sysdep/unix/krt.c') diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 803077f..6ef8d90 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -544,9 +544,7 @@ sentenced: static void krt_prune(struct krt_proto *p) { - struct proto *pp = &p->p; struct rtable *t = p->p.table; - struct fib_node *f; KRT_TRACE(p, D_EVENTS, "Pruning table %s", t->name); FIB_WALK(&t->fib, f) @@ -605,7 +603,6 @@ void krt_got_route_async(struct krt_proto *p, rte *e, int new) { net *net = e->net; - rte *old = net->routes; int src = e->u.krt.src; switch (src) -- cgit v1.2.3