[sr-dev] git:master: core:action.c initialized variable before usage
Marius Zbihlei
marius.zbihlei at 1and1.ro
Wed Apr 4 11:58:33 CEST 2012
Module: sip-router
Branch: master
Commit: 79cd491934b1a029403c3657d667cc0df80800a9
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=79cd491934b1a029403c3657d667cc0df80800a9
Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date: Wed Apr 4 12:58:06 2012 +0300
core:action.c initialized variable before usage
---
action.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/action.c b/action.c
index 6178dd7..ec7df6f 100644
--- a/action.c
+++ b/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++;
More information about the sr-dev
mailing list