From: Matthew Nicholson Date: Fri, 4 Mar 2011 17:55:57 +0000 (+0000) Subject: remove mysterious lua_pushvalue() that is never used X-Git-Tag: 1.6.2.19-rc1~3^2~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0524aa83cf0ea6cd2140d3b8fc6835030febd59a;p=thirdparty%2Fasterisk.git remove mysterious lua_pushvalue() that is never used git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@309494 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c index 2c84066c98..4056298a27 100644 --- a/pbx/pbx_lua.c +++ b/pbx/pbx_lua.c @@ -787,7 +787,7 @@ static int lua_sort_extensions(lua_State *L) int context_name = context - 1; int context_order; - lua_pushvalue(L, context_name); + /* create the context_order table */ lua_newtable(L); context_order = lua_gettop(L);