]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
remove mysterious lua_pushvalue() that is never used
authorMatthew Nicholson <mnicholson@digium.com>
Fri, 4 Mar 2011 17:55:57 +0000 (17:55 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Fri, 4 Mar 2011 17:55:57 +0000 (17:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@309494 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_lua.c

index 2c84066c98202739d16444596a7aef75f7dd53ac..4056298a27481dc2e14c11e6bd6822e839790379 100644 (file)
@@ -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);