]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Killed a couple of unused variables.
authorMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 20:57:38 +0000 (20:57 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 20:57:38 +0000 (20:57 +0000)
We really should compile with warnings enabled.

filter/filter.c
proto/bgp/bgp.c
proto/rip/rip.c

index a50dce6c6a8504d0b8d4ac8fbc620ab835bff72b..9bae856b67d84c64c6fa04370651e20d2ad1b2a4 100644 (file)
@@ -294,7 +294,7 @@ interpret(struct f_inst *what)
 {
   struct symbol *sym;
   struct f_val v1, v2, res;
-  int i,j,k;
+  int i;
 
   res.type = T_VOID;
   if (!what)
index 7069d982afc23ad7723a7d26462928b246613f34..3d70192c76bf7da5006f5f7b9ae3d58ee79a4241 100644 (file)
@@ -373,7 +373,6 @@ static int
 bgp_incoming_connection(sock *sk, int dummy)
 {
   struct proto_config *pc;
-  node *n;
   int match = 0;
 
   DBG("BGP: Incoming connection from %I port %d\n", sk->daddr, sk->dport);
index c3a495100637f820707251d2515124d53de51910..c41384c48e3815f8bb24b19ae2584271654c4dbe 100644 (file)
@@ -384,7 +384,7 @@ static int
 rip_process_packet( struct proto *p, struct rip_packet *packet, int num, ip_addr whotoldme, int port )
 {
   int i;
-  int native_class = 0, authenticated = 0;
+  int authenticated = 0;
   neighbor *neighbor;
 
   switch( packet->heading.version ) {
@@ -606,7 +606,7 @@ static void
 rip_dump(struct proto *p)
 {
   int i;
-  node *w, *e;
+  node *w;
   struct rip_interface *rif;
   i = 0;