diff options
author | okan | 2014-08-19 18:39:41 +0000 |
---|---|---|
committer | okan | 2014-08-19 18:39:41 +0000 |
commit | 847299f39c77b096683f9bbe07d8f07a20c5569a (patch) | |
tree | 13c97d9a46f0653f45762982e759b80d0da53151 | |
parent | 1d86ebf910116ad2815e9f1a243faf7746abd0f4 (diff) | |
download | cwm-847299f39c77b096683f9bbe07d8f07a20c5569a.tar.gz |
Remove unnecessary memset since reload was replaced with restart;
from Kent Spillner.
-rw-r--r-- | conf.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.173 2014/04/21 12:52:14 okan Exp $ + * $OpenBSD: conf.c,v 1.174 2014/08/19 18:39:41 okan Exp $ */ #include <sys/param.h> @@ -250,8 +250,6 @@ conf_init(struct conf *c) { unsigned int i; - (void)memset(c, 0, sizeof(*c)); - c->bwidth = CONF_BWIDTH; c->mamount = CONF_MAMOUNT; c->snapdist = CONF_SNAPDIST; |