aboutsummaryrefslogtreecommitdiff
path: root/src/tools.c
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2013-11-06 14:40:45 +0100
committerBenoit Germain <bnt.germain@gmail.com>2013-11-06 14:40:45 +0100
commit57d7929c48bd3be9c1723b673e24a1222dce4588 (patch)
treebce7476e929e0ed1ef806a7d91befe73b9f9b48e /src/tools.c
parent9be0cea2d8f1861d0d48365364adefa1150d605e (diff)
downloadlanes-57d7929c48bd3be9c1723b673e24a1222dce4588.tar.gz
lanes-57d7929c48bd3be9c1723b673e24a1222dce4588.tar.bz2
lanes-57d7929c48bd3be9c1723b673e24a1222dce4588.zip
Fix an unitialized variable usage
Diffstat (limited to 'src/tools.c')
-rw-r--r--src/tools.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools.c b/src/tools.c
index f445068..8fba8c2 100644
--- a/src/tools.c
+++ b/src/tools.c
@@ -1564,6 +1564,7 @@ static void lookup_native_func( lua_State* L2, lua_State* L, uint_t i, enum eLoo
1564 } 1564 }
1565 else 1565 else
1566 { 1566 {
1567 gotchaA = "";
1567 gotchaB = ""; 1568 gotchaB = "";
1568 what = (lua_type( L, -1) == LUA_TSTRING) ? lua_tostring( L, -1) : luaL_typename( L, -1); 1569 what = (lua_type( L, -1) == LUA_TSTRING) ? lua_tostring( L, -1) : luaL_typename( L, -1);
1569 } 1570 }