aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2014-08-19 18:39:41 +0000
committerokan2014-08-19 18:39:41 +0000
commit847299f39c77b096683f9bbe07d8f07a20c5569a (patch)
tree13c97d9a46f0653f45762982e759b80d0da53151 /conf.c
parent1d86ebf910116ad2815e9f1a243faf7746abd0f4 (diff)
downloadcwm-847299f39c77b096683f9bbe07d8f07a20c5569a.tar.gz
Remove unnecessary memset since reload was replaced with restart;
from Kent Spillner.
Diffstat (limited to '')
-rw-r--r--conf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index e21a47e..fcf5844 100644
--- a/conf.c
+++ b/conf.c
@@ -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;