diff options
author | Martin Mares <mj@ucw.cz> | 2004-05-31 20:57:38 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2004-05-31 20:57:38 +0000 |
commit | 6a57bb311018570b6ee7beccafd2075108e346cb (patch) | |
tree | 07d04364cf10345c1f80ddeb595f66ad80e733ed /proto/rip | |
parent | d83faf8dc441259183d87c6669e76e4addc61b21 (diff) |
Killed a couple of unused variables.
We really should compile with warnings enabled.
Diffstat (limited to 'proto/rip')
-rw-r--r-- | proto/rip/rip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c index c3a49510..c41384c4 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -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; |