diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-01-18 01:19:02 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-01-18 01:19:02 +0000 |
commit | e04406150d0aaf44dbf6d1cee9e0c591db53cc94 (patch) | |
tree | 3b877a8fb117703adc5d08873c7c969a1efe40b1 /sbin/dhclient | |
parent | 8b735f80a8807ca0a38404bbb218aadab4666a6f (diff) |
Remove superfluous assignment to local variable 'val' just before
exiting.
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/clparse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c index 8a46b650a78..57b605a3786 100644 --- a/sbin/dhclient/clparse.c +++ b/sbin/dhclient/clparse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clparse.c,v 1.74 2014/01/18 01:03:56 krw Exp $ */ +/* $OpenBSD: clparse.c,v 1.75 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); |