summaryrefslogtreecommitdiffstats
path: root/src/if_lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_lua.c')
-rw-r--r--src/if_lua.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/if_lua.c b/src/if_lua.c
index 8c1638a3a2..19842912fb 100644
--- a/src/if_lua.c
+++ b/src/if_lua.c
@@ -398,16 +398,6 @@ static const luaV_Reg luaV_dll[] = {
static HANDLE hinstLua = NULL;
- static void
-end_dynamic_lua(void)
-{
- if (hinstLua)
- {
- close_dll(hinstLua);
- hinstLua = 0;
- }
-}
-
static int
lua_link_init(char *libname, int verbose)
{
@@ -2121,9 +2111,6 @@ lua_end(void)
{
lua_close(L);
L = NULL;
-#ifdef DYNAMIC_LUA
- end_dynamic_lua();
-#endif
}
}