summaryrefslogtreecommitdiff
path: root/src/exe_action.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/exe_action.c
parent754da40f1a9d7ac5a75a9091b67df68e5da29626 (diff)
downloadvyatta-cfg-aa2ba10182681dcf4a9d7526b53d6c78ba421263.tar.gz
vyatta-cfg-aa2ba10182681dcf4a9d7526b53d6c78ba421263.zip
remove unnecessary memset calls
Diffstat (limited to 'src/exe_action.c')
-rw-r--r--src/exe_action.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/exe_action.c b/src/exe_action.c
index ee884c3..77d6a87 100644
--- a/src/exe_action.c
+++ b/src/exe_action.c
@@ -87,7 +87,6 @@ main(int argc, char** argv)
printf("[path: %s][act: %lu]\n",buf,act);
if ((lstat(buf,&s) == 0) && S_ISREG(s.st_mode)) {
- memset(&def, 0, sizeof(def));
if (parse_def(&def,buf,FALSE) == 0) {
//execute
int status;