2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

Delete unused automatic variables

This commit is contained in:
Ted Lemon 1996-06-04 19:04:16 +00:00
parent 5c324ed20d
commit eebea44806
8 changed files with 0 additions and 26 deletions

View File

@ -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

View File

@ -87,7 +87,6 @@ static int get_token (cfile)
FILE *cfile;
{
int c;
int i;
int ttok;
#ifdef DEBUG_TOKENS
static char tb [2];

View File

@ -87,7 +87,6 @@ static int get_token (cfile)
FILE *cfile;
{
int c;
int i;
int ttok;
#ifdef DEBUG_TOKENS
static char tb [2];

View File

@ -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;

View File

@ -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

1
dhcp.c
View File

@ -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;

View File

@ -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;

View File

@ -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;