From: Krisztian Litkey Date: Thu, 5 Dec 2013 17:54:00 +0000 (+0200) Subject: lua-utils: get rid of a compiler warning. X-Git-Tag: v0.0.40~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb8e5ab65affeac5a98cf3164700e2a6d3891680;p=profile%2Fivi%2Fmurphy.git lua-utils: get rid of a compiler warning. --- diff --git a/src/core/lua-utils/funcbridge.c b/src/core/lua-utils/funcbridge.c index db0cee4..a5df175 100644 --- a/src/core/lua-utils/funcbridge.c +++ b/src/core/lua-utils/funcbridge.c @@ -847,7 +847,8 @@ static int make_lua_call(lua_State *L, mrp_funcbridge_t *fb, int f) mrp_lua_type_t type; int elem; size_t tlen; - int status, refs[3]; + int status; + int refs[3] = { LUA_NOREF, LUA_NOREF, LUA_NOREF }; e = lua_gettop(L); f = (f < 0) ? e + f + 1 : f;