lua-utils: get rid of a compiler warning.
authorKrisztian Litkey <kli@iki.fi>
Thu, 5 Dec 2013 17:54:00 +0000 (19:54 +0200)
committerKrisztian Litkey <kli@iki.fi>
Thu, 5 Dec 2013 17:54:00 +0000 (19:54 +0200)
src/core/lua-utils/funcbridge.c

index db0cee4..a5df175 100644 (file)
@@ -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;