[vlc-commits] lua/intf: remove luaL_register_submodule (unused)

Filip Roséen git at videolan.org
Mon Mar 20 14:06:23 CET 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Fri Mar 17 03:35:53 2017 +0100| [8cbca2681a3febbf5084bd5c7481ce9b2021f2e3] | committer: Hugo Beauzée-Luyssen

lua/intf: remove luaL_register_submodule (unused)

Last usage was removed in June 2008 as part of the changed instroduced
by 95addd57388b78fdfb6a58c90437085de8bbbc33.

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cbca2681a3febbf5084bd5c7481ce9b2021f2e3
---

 modules/lua/intf.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/lua/intf.c b/modules/lua/intf.c
index 46738dc..a9f27e5 100644
--- a/modules/lua/intf.c
+++ b/modules/lua/intf.c
@@ -59,13 +59,6 @@ struct intf_sys_t
 /*****************************************************************************
  *
  *****************************************************************************/
-static inline void luaL_register_submodule( lua_State *L, const char *psz_name,
-                                            const luaL_Reg *l )
-{
-    lua_newtable( L );
-    luaL_register( L, NULL, l );
-    lua_setfield( L, -2, psz_name );
-}
 
 static char *MakeConfig( intf_thread_t *p_intf, const char *name )
 {



More information about the vlc-commits mailing list