浏览代码

app_lua: removed one more static initializer of array

Daniel-Constantin Mierla 10 年之前
父节点
当前提交
57910f3982
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/app_lua/app_lua_exp.c

+ 1 - 1
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)
 static int lua_sr_ndb_mongodb_free_reply(lua_State *L)
 {
 {
 	int ret = 0;
 	int ret = 0;
-	str param[1] = {0};
+	str param[1];
 
 
 	if(!(_sr_lua_exp_reg_mods&SR_LUA_EXP_MOD_NDB_MONGODB))
 	if(!(_sr_lua_exp_reg_mods&SR_LUA_EXP_MOD_NDB_MONGODB))
 	{
 	{