diff options
author | Russell Bryant <russell@russellbryant.com> | 2011-05-05 22:44:52 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2011-05-05 22:44:52 +0000 |
commit | f0f5e237bf96ed5531b164935bbe8dca1c7b70ed (patch) | |
tree | 2b7d632f7f42d434363d7dee71d987562eb56ed9 /pbx/pbx_lua.c | |
parent | c28e2d380c185b8cda44b468504bb8a6892714a6 (diff) |
Merged revisions 317474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r317474 | russell | 2011-05-05 17:36:33 -0500 (Thu, 05 May 2011) | 2 lines
Fix more "set but unused" warnings.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_lua.c')
-rw-r--r-- | pbx/pbx_lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c index c874c7383..24766bfc2 100644 --- a/pbx/pbx_lua.c +++ b/pbx/pbx_lua.c @@ -1425,12 +1425,12 @@ static int lua_find_extension(lua_State *L, const char *context, const char *ext /* step through the extensions looking for a match */ for (i = 1; i < lua_objlen(L, context_order_table) + 1; i++) { - int e_index, e_index_copy, match = 0; + int e_index_copy, match = 0; const char *e; lua_pushinteger(L, i); lua_gettable(L, context_order_table); - e_index = lua_gettop(L); + lua_gettop(L); /* copy the key at the top of the stack for use later */ lua_pushvalue(L, -1); |