- init local variable to avoid warning
@@ -360,7 +360,8 @@ dpl_node_t * build_rule(db_val_t * values)
struct subst_expr *repl_comp;
dpl_node_t * new_rule;
str match_exp, subst_exp, repl_exp, attrs;
- int matchop, cap_cnt;
+ int matchop;
+ int cap_cnt=0;
matchop = VAL_INT(values+2);
@@ -32,7 +32,7 @@
*/
#ifndef _DP_DB_H_
-#define _DP_DB_H
+#define _DP_DB_H_
#include "../../str.h"
#include "../../lib/srdb1/db.h"