diff --git a/c/mapping/mlr_dsl_cst_statements.c b/c/mapping/mlr_dsl_cst_statements.c index 580837200..60fe6996e 100644 --- a/c/mapping/mlr_dsl_cst_statements.c +++ b/c/mapping/mlr_dsl_cst_statements.c @@ -448,7 +448,6 @@ mlr_dsl_cst_statement_t* mlr_dsl_cst_statement_valloc( void* pvstate) { mlr_dsl_cst_statement_t* pstatement = mlr_malloc_or_die(sizeof(mlr_dsl_cst_statement_t)); - memset(pstatement, 0, sizeof(*pstatement)); // xxx temp pstatement->past_node = past_node; pstatement->pstatement_handler = pstatement_handler; pstatement->pblock = NULL; @@ -467,7 +466,6 @@ mlr_dsl_cst_statement_t* mlr_dsl_cst_statement_valloc_with_block( void* pvstate) { mlr_dsl_cst_statement_t* pstatement = mlr_malloc_or_die(sizeof(mlr_dsl_cst_statement_t)); - memset(pstatement, 0, sizeof(*pstatement)); // xxx temp pstatement->past_node = past_node; pstatement->pstatement_handler = pstatement_handler; pstatement->pblock = pblock; @@ -666,8 +664,7 @@ sllv_t* allocate_keylist_evaluators_from_ast_node( { sllv_t* pkeylist_evaluators = sllv_alloc(); - // xxx comment - if (pnode->pchildren != NULL) { + if (pnode->pchildren != NULL) { // Non-indexed localvars have no child nodes in the AST. for (sllve_t* pe = pnode->pchildren->phead; pe != NULL; pe = pe->pnext) { mlr_dsl_ast_node_t* pkeynode = pe->pvvalue; if (pkeynode->type == MD_AST_NODE_TYPE_STRING_LITERAL) {