diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-01-19 21:23:19 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-01-19 21:23:19 +0000 |
commit | b126a8bdb9fcd2aa775eed78f85660b26fc4e382 (patch) | |
tree | 0d3beb524b7f72838d7e3f2e1528c5a35df7c4d3 | |
parent | 950425dd8d7fc43937972748d65981bb08778616 (diff) |
Since there is no more exec()'ing, there is no need to
save a copy of the original argv.
-rw-r--r-- | sbin/dhclient/dhclient.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 16277b82200..4904c82661f 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.617 2019/01/19 21:07:13 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.618 2019/01/19 21:23:18 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -438,8 +438,6 @@ rtm_dispatch(struct interface_info *ifi, struct rt_msghdr *rtm) write_resolv_conf(); } -char **saved_argv; - int main(int argc, char *argv[]) { @@ -455,8 +453,6 @@ main(int argc, char *argv[]) int rtfilter, ioctlfd, routefd; int ch; - saved_argv = argv; - if (isatty(STDERR_FILENO) != 0) log_init(1, LOG_DEBUG); /* log to stderr until daemonized */ else |