summaryrefslogtreecommitdiff
path: root/nest/iface.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-04 20:30:36 +0000
committerMartin Mares <mj@ucw.cz>2000-05-04 20:30:36 +0000
commit93a786cb034fdd18b8131a16a6ea3d1cd9bd00de (patch)
tree7880559e8ad6f66b65a0fc97dfdf69f491a00e4a /nest/iface.c
parentc817b9916f1134f687ba53220d607e6e193cf651 (diff)
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.)
Diffstat (limited to 'nest/iface.c')
-rw-r--r--nest/iface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/iface.c b/nest/iface.c
index d41b39da..c585a531 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -202,7 +202,6 @@ struct iface *
if_update(struct iface *new)
{
struct iface *i;
- struct ifa *a, *b;
unsigned c;
WALK_LIST(i, iface_list)
@@ -263,7 +262,7 @@ if_end_partial_update(struct iface *i)
void
if_end_update(void)
{
- struct iface *i, j;
+ struct iface *i;
struct ifa *a, *b;
if (!config->router_id)