浏览代码

core:action.c initialized variable before usage

Marius Zbihlei 13 年之前
父节点
当前提交
79cd491934
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      action.c

+ 1 - 1
action.c

@@ -1580,7 +1580,7 @@ int run_actions(struct run_act_ctx* h, struct action* a, struct sip_msg* msg)
 	struct action* t;
 	int ret;
 	struct sr_module *mod;
-	unsigned int ms;
+	unsigned int ms = 0;
 
 	ret=E_UNSPEC;
 	h->rec_lev++;