mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Remove dead vars
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: dhcpxlt.c,v 1.6 1996/08/31 00:48:48 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: dhcpxlt.c,v 1.7 1996/09/02 21:17:26 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -268,7 +268,6 @@ void convert_host_name (cfile, bc)
|
|||||||
{
|
{
|
||||||
char *val;
|
char *val;
|
||||||
int token;
|
int token;
|
||||||
int len = 0;
|
|
||||||
|
|
||||||
/* Read a dotted hostname... */
|
/* Read a dotted hostname... */
|
||||||
do {
|
do {
|
||||||
@@ -526,7 +525,6 @@ void convert_subnet_decl (cfile, bc)
|
|||||||
{
|
{
|
||||||
char *val;
|
char *val;
|
||||||
int token;
|
int token;
|
||||||
struct tree_cache *server_next;
|
|
||||||
|
|
||||||
token = next_token (&val, cfile);
|
token = next_token (&val, cfile);
|
||||||
switch (token) {
|
switch (token) {
|
||||||
@@ -787,7 +785,6 @@ void convert_option_decl (cfile, bc)
|
|||||||
{
|
{
|
||||||
char *val;
|
char *val;
|
||||||
int token;
|
int token;
|
||||||
unsigned char buf [4];
|
|
||||||
char *fmt;
|
char *fmt;
|
||||||
struct option *option;
|
struct option *option;
|
||||||
|
|
||||||
@@ -894,7 +891,6 @@ void convert_option_decl (cfile, bc)
|
|||||||
case 'B': /* Unsigned 8-bit integer. */
|
case 'B': /* Unsigned 8-bit integer. */
|
||||||
token = next_token (&val, cfile);
|
token = next_token (&val, cfile);
|
||||||
if (token != NUMBER) {
|
if (token != NUMBER) {
|
||||||
need_number:
|
|
||||||
parse_warn ("expecting number.");
|
parse_warn ("expecting number.");
|
||||||
if (token != SEMI)
|
if (token != SEMI)
|
||||||
skip_to_semi (cfile);
|
skip_to_semi (cfile);
|
||||||
|
Reference in New Issue
Block a user