summaryrefslogtreecommitdiff
path: root/src/check_tmpl.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-05-28 16:11:36 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-05-28 16:11:36 -0700
commitaa2ba10182681dcf4a9d7526b53d6c78ba421263 (patch)
treeb4544274eda0a88cb07dcb37834d53ac9c5e5258 /src/check_tmpl.c
parent754da40f1a9d7ac5a75a9091b67df68e5da29626 (diff)
downloadvyatta-cfg-aa2ba10182681dcf4a9d7526b53d6c78ba421263.tar.gz
vyatta-cfg-aa2ba10182681dcf4a9d7526b53d6c78ba421263.zip
remove unnecessary memset calls
Diffstat (limited to 'src/check_tmpl.c')
-rw-r--r--src/check_tmpl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_tmpl.c b/src/check_tmpl.c
index 109c76b..c1be682 100644
--- a/src/check_tmpl.c
+++ b/src/check_tmpl.c
@@ -44,7 +44,6 @@ main(int argc, char **argv)
exit(-1);
}
- memset(&def, 0, sizeof(def));
status = parse_def(&def, argv[1], 0);
if (status == -5) {
printf("Cannot open [%s]\n", argv[1]);