[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-devel
Subject:    [sr-dev] git:master:57910f39: app_lua: removed one more static initializer of array
From:       Daniel-Constantin Mierla <miconda () gmail ! com>
Date:       2015-04-27 16:04:43
Message-ID: E1YmlWV-0002Fr-PD () www ! kamailio ! org
[Download RAW message or body]

Module: kamailio
Branch: master
Commit: 57910f3982125779c31a2d78220d42bed2b2c8bc
URL: https://github.com/kamailio/kamailio/commit/57910f3982125779c31a2d78220d42bed2b2c8bc

Author: Daniel-Constantin Mierla <miconda@gmail.com>
Committer: Daniel-Constantin Mierla <miconda@gmail.com>
Date: 2015-04-27T18:04:14+02:00

app_lua: removed one more static initializer of array

---

Modified: modules/app_lua/app_lua_exp.c

---

Diff:  https://github.com/kamailio/kamailio/commit/57910f3982125779c31a2d78220d42bed2b2c8bc.diff
Patch: https://github.com/kamailio/kamailio/commit/57910f3982125779c31a2d78220d42bed2b2c8bc.patch

---

diff --git a/modules/app_lua/app_lua_exp.c b/modules/app_lua/app_lua_exp.c
index a328022..e168ae9 100644
--- a/modules/app_lua/app_lua_exp.c
+++ b/modules/app_lua/app_lua_exp.c
@@ -2765,7 +2765,7 @@ static int lua_sr_ndb_mongodb_next_reply(lua_State *L)
 static int lua_sr_ndb_mongodb_free_reply(lua_State *L)
 {
 	int ret = 0;
-	str param[1] = {0};
+	str param[1];
 
 	if(!(_sr_lua_exp_reg_mods&SR_LUA_EXP_MOD_NDB_MONGODB))
 	{


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic