Merged revisions 309495 via svnmerge from
authorMatthew Nicholson <mnicholson@digium.com>
Fri, 4 Mar 2011 18:11:43 +0000 (18:11 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Fri, 4 Mar 2011 18:11:43 +0000 (18:11 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r309495 | mnicholson | 2011-03-04 12:10:23 -0600 (Fri, 04 Mar 2011) | 9 lines

  Merged revisions 309494 via svnmerge from
  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/trunk@309496 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_lua.c

index 6b2b8af..3cb6cf0 100644 (file)
@@ -788,7 +788,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);