]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Unused variables in IPv6 code.
authorMartin Mares <mj@ucw.cz>
Thu, 4 May 2000 20:38:44 +0000 (20:38 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 4 May 2000 20:38:44 +0000 (20:38 +0000)
lib/ipv6.c
proto/bgp/packets.c

index a8b114d6789810b15ca59239bfb0b6a97f62c25c..b666ddd8e175511362684f3aebf022b059d06703 100644 (file)
@@ -147,7 +147,6 @@ ip_ntop(ip_addr a, char *b)
 {
   u16 words[8];
   int bestpos, bestlen, curpos, curlen, i;
-  char *c;
 
   /* First of all, preprocess the address and find the longest run of zeros */
   bestlen = bestpos = curpos = curlen = 0;
@@ -225,7 +224,7 @@ ip_ntox(ip_addr a, char *b)
 int
 ipv4_pton_u32(char *a, u32 *o)
 {
-  int i,j;
+  int i;
   unsigned long int l;
   u32 ia = 0;
 
index d6c2169fbe08c7d228cd3774ababb514d9433873..6fabacfa8e775c58ac35ad6a118cb2bd09dc3cc8 100644 (file)
@@ -557,8 +557,6 @@ bgp_do_rx_update(struct bgp_conn *conn,
 
   DO_NLRI(mp_reach)
     {
-      ea_list *e = lp_alloc(bgp_linpool, sizeof(ea_list) + sizeof(eattr));
-      struct adata *ad = lp_alloc(bgp_linpool, sizeof(struct adata) + 16);
       int i;
 
       /* Create fake NEXT_HOP attribute */