]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 309494 via svnmerge from
authorMatthew Nicholson <mnicholson@digium.com>
Fri, 4 Mar 2011 18:10:23 +0000 (18:10 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Fri, 4 Mar 2011 18:10:23 +0000 (18:10 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r309494 | mnicholson | 2011-03-04 11:55:57 -0600 (Fri, 04 Mar 2011) | 2 lines

  remove mysterious lua_pushvalue() that is never used
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@309495 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_lua.c

index 5d4ecd78e19f665c376d1472d8cda99d68f22e44..081dce9ac107498ba5a80d1b818e572493e3c2a3 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);