summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2014-08-19 18:39:42 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2014-08-19 18:39:42 +0000
commitc45259d46ec456387266078aa0ffa22b58d9d447 (patch)
tree152d5ff501b63e013d97730245622637ef252faa /app/cwm
parentb371b69ccc02c838f9b318707cfcfb8fb4f3347d (diff)
Remove unnecessary memset since reload was replaced with restart;
from Kent Spillner.
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/conf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/cwm/conf.c b/app/cwm/conf.c
index e21a47e22..fcf5844d7 100644
--- a/app/cwm/conf.c
+++ b/app/cwm/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;