diff options
author | Shawn Routhier <sar@isc.org> | 2012-11-28 12:55:32 -0800 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2012-11-28 12:55:32 -0800 |
commit | 8acc987b9e4aaa9cb635802cfa398932480e6fb0 (patch) | |
tree | bb6ba1803913bd2ad68d3a8228858d12bfbd0324 /common/parse.c | |
parent | 1e2a127bfeb23448c2594167b9bf09f585a52259 (diff) | |
download | isc-dhcp-8acc987b9e4aaa9cb635802cfa398932480e6fb0.tar.gz |
[master]
Remove unused variable.
[ISC-Bugs #31983]
Diffstat (limited to 'common/parse.c')
-rw-r--r-- | common/parse.c | 5 |
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 |