artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd10ea0
)
Remove superfluous assignment to local variable 'val' just before
author
krw
<krw@openbsd.org>
Sat, 18 Jan 2014 01:19:01 +0000
(
01:19
+0000)
committer
krw
<krw@openbsd.org>
Sat, 18 Jan 2014 01:19:01 +0000
(
01:19
+0000)
exiting.
sbin/dhclient/clparse.c
patch
|
blob
|
history
diff --git
a/sbin/dhclient/clparse.c
b/sbin/dhclient/clparse.c
index
8a46b65
..
57b605a
100644
(file)
--- a/
sbin/dhclient/clparse.c
+++ b/
sbin/dhclient/clparse.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: clparse.c,v 1.7
4 2014/01/18 01:03:56
krw Exp $ */
+/* $OpenBSD: clparse.c,v 1.7
5 2014/01/18 01:19:01
krw Exp $ */
/* Parser for dhclient config and lease files. */
@@
-288,7
+288,6
@@
parse_X(FILE *cfile, u_int8_t *buf, int max)
if (token == ':')
token = next_token(&val, cfile);
} while (token == ':');
- val = (char *)buf;
} else if (token == TOK_STRING) {
token = next_token(&val, cfile);
len = strlen(val);