projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce8b1e
)
lua-utils: get rid of a compiler warning.
author
Krisztian Litkey
<kli@iki.fi>
Thu, 5 Dec 2013 17:54:00 +0000
(19:54 +0200)
committer
Krisztian Litkey
<kli@iki.fi>
Thu, 5 Dec 2013 17:54:00 +0000
(19:54 +0200)
src/core/lua-utils/funcbridge.c
patch
|
blob
|
history
diff --git
a/src/core/lua-utils/funcbridge.c
b/src/core/lua-utils/funcbridge.c
index
db0cee4
..
a5df175
100644
(file)
--- 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;