summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-04 20:38:44 +0000
committerMartin Mares <mj@ucw.cz>2000-05-04 20:38:44 +0000
commit2a149b18cca3b20063be398e8098dfa8e1e2705d (patch)
tree6f239bb6fc7c7b2c42823f57313089e0412d5e2b /lib
parent93a786cb034fdd18b8131a16a6ea3d1cd9bd00de (diff)
Unused variables in IPv6 code.
Diffstat (limited to 'lib')
-rw-r--r--lib/ipv6.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ipv6.c b/lib/ipv6.c
index a8b114d6..b666ddd8 100644
--- a/lib/ipv6.c
+++ b/lib/ipv6.c
@@ -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;