summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2012-11-28 13:27:18 -0800
committerShawn Routhier <sar@isc.org>2012-11-28 13:27:18 -0800
commit84ab23bc95fd7d3d55f619d5333517613baaf966 (patch)
tree771def01996313416a6f03a4077c02e62c143479 /common
parent9216ad2ff5cddde2f6d51e069cd7f763c6daf908 (diff)
downloadisc-dhcp-84ab23bc95fd7d3d55f619d5333517613baaf966.tar.gz
[v4_2]
Remove unused variable. [ISC-Bugs #31983]
Diffstat (limited to 'common')
-rw-r--r--common/parse.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/parse.c b/common/parse.c
index eb13d22a..ac8e6613 100644
--- a/common/parse.c
+++ b/common/parse.c
@@ -1850,7 +1850,6 @@ int parse_base64 (data, cfile)
struct data_string *data;
struct parse *cfile;
{
- enum dhcp_token token;
const char *val;
int i, j, k;
unsigned acc = 0;
@@ -1880,7 +1879,7 @@ int parse_base64 (data, cfile)
do {
unsigned l;
- token = next_token(&val, &l, cfile);
+ (void)next_token(&val, &l, cfile);
t = dmalloc(l + sizeof(*t), MDL);
if (t == NULL)
log_fatal("no memory for base64 buffer.");
@@ -1892,7 +1891,7 @@ int parse_base64 (data, cfile)
else
bufs = t;
last = t;
- token = peek_token(&val, NULL, cfile);
+ (void)peek_token(&val, NULL, cfile);
valid_base64 = 1;
for (i = 0; val[i]; i++) {
/* Check to see if the character is valid. It