[asterisk-commits] mnicholson: branch 1.6.2 r309494 - /branches/1.6.2/pbx/pbx_lua.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 4 11:56:00 CST 2011


Author: mnicholson
Date: Fri Mar  4 11:55:57 2011
New Revision: 309494

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=309494
Log:
remove mysterious lua_pushvalue() that is never used

Modified:
    branches/1.6.2/pbx/pbx_lua.c

Modified: branches/1.6.2/pbx/pbx_lua.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/pbx/pbx_lua.c?view=diff&rev=309494&r1=309493&r2=309494
==============================================================================
--- branches/1.6.2/pbx/pbx_lua.c (original)
+++ branches/1.6.2/pbx/pbx_lua.c Fri Mar  4 11:55:57 2011
@@ -787,7 +787,7 @@
 		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);
 




More information about the asterisk-commits mailing list