diff --git a/client/dhclient.c b/client/dhclient.c index c95dbd4a..e2761147 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -72,17 +72,8 @@ int main (argc, argv, envp) char **argv, **envp; { struct in_addr addr; - int port = 0; int i; - struct sockaddr_in name; - u_int32_t *addrlist = (u_int32_t *)0; - int addrcount = 0; - struct tree *addrtree = (struct tree *)0; struct servent *ent; - int sock; - int pid; - int result; - int flag; struct interface_info *interface; #ifdef SYSLOG_4_2 diff --git a/common/conflex.c b/common/conflex.c index 06c54fc3..ff80a4ba 100644 --- a/common/conflex.c +++ b/common/conflex.c @@ -87,7 +87,6 @@ static int get_token (cfile) FILE *cfile; { int c; - int i; int ttok; #ifdef DEBUG_TOKENS static char tb [2]; diff --git a/conflex.c b/conflex.c index 06c54fc3..ff80a4ba 100644 --- a/conflex.c +++ b/conflex.c @@ -87,7 +87,6 @@ static int get_token (cfile) FILE *cfile; { int c; - int i; int ttok; #ifdef DEBUG_TOKENS static char tb [2]; diff --git a/confpars.c b/confpars.c index 2d098089..902b7083 100644 --- a/confpars.c +++ b/confpars.c @@ -683,7 +683,6 @@ void parse_hardware_decl (cfile, bc, decl) jbp_decl (bc); struct host_decl *decl; { - char *val; int token; struct hardware hw; @@ -1266,7 +1265,6 @@ TIME parse_date (cfile, bc) FILE *cfile; jbp_decl (bc); { - TIME t; struct tm tm; char *val; int token; diff --git a/dhclient.c b/dhclient.c index c95dbd4a..e2761147 100644 --- a/dhclient.c +++ b/dhclient.c @@ -72,17 +72,8 @@ int main (argc, argv, envp) char **argv, **envp; { struct in_addr addr; - int port = 0; int i; - struct sockaddr_in name; - u_int32_t *addrlist = (u_int32_t *)0; - int addrcount = 0; - struct tree *addrtree = (struct tree *)0; struct servent *ent; - int sock; - int pid; - int result; - int flag; struct interface_info *interface; #ifdef SYSLOG_4_2 diff --git a/dhcp.c b/dhcp.c index 036f5e9f..a2ffe775 100644 --- a/dhcp.c +++ b/dhcp.c @@ -149,7 +149,6 @@ void dhcprequest (packet) struct lease *lease; struct iaddr cip; struct subnet *subnet; - struct lease *ip_lease; if (packet -> options [DHO_DHCP_REQUESTED_ADDRESS].len) { cip.len = 4; diff --git a/server/confpars.c b/server/confpars.c index 2d098089..902b7083 100644 --- a/server/confpars.c +++ b/server/confpars.c @@ -683,7 +683,6 @@ void parse_hardware_decl (cfile, bc, decl) jbp_decl (bc); struct host_decl *decl; { - char *val; int token; struct hardware hw; @@ -1266,7 +1265,6 @@ TIME parse_date (cfile, bc) FILE *cfile; jbp_decl (bc); { - TIME t; struct tm tm; char *val; int token; diff --git a/server/dhcp.c b/server/dhcp.c index 036f5e9f..a2ffe775 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -149,7 +149,6 @@ void dhcprequest (packet) struct lease *lease; struct iaddr cip; struct subnet *subnet; - struct lease *ip_lease; if (packet -> options [DHO_DHCP_REQUESTED_ADDRESS].len) { cip.len = 4;