summaryrefslogtreecommitdiff
path: root/src/cli_val_engine.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/cli_val_engine.c
parent754da40f1a9d7ac5a75a9091b67df68e5da29626 (diff)
downloadvyatta-cfg-aa2ba10182681dcf4a9d7526b53d6c78ba421263.tar.gz
vyatta-cfg-aa2ba10182681dcf4a9d7526b53d6c78ba421263.zip
remove unnecessary memset calls
Diffstat (limited to 'src/cli_val_engine.c')
-rw-r--r--src/cli_val_engine.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cli_val_engine.c b/src/cli_val_engine.c
index a81f413..f43b521 100644
--- a/src/cli_val_engine.c
+++ b/src/cli_val_engine.c
@@ -259,8 +259,6 @@ static char** clind_get_current_value(clind_path_ref cfg_path,
int fn_node_def_size=strlen(tmpl_path_string)+1+strlen(NODE_DEF)+1;
char* fn_node_def=(char*)malloc(fn_node_def_size);
- memset(&def, 0, sizeof(def));
-
fn_node_def[0]=0;
if(*tmpl_path_string!='/' && root_tmpl_path) {