Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
13cb1f0e
Commit
13cb1f0e
authored
Mar 24, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: dead code
parent
fe30f8c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
modules/lua/libs.h
modules/lua/libs.h
+0
-1
modules/lua/libs/net.c
modules/lua/libs/net.c
+0
-14
No files found.
modules/lua/libs.h
View file @
13cb1f0e
...
@@ -30,7 +30,6 @@ void luaopen_httpd( lua_State * );
...
@@ -30,7 +30,6 @@ void luaopen_httpd( lua_State * );
void
luaopen_input
(
lua_State
*
);
void
luaopen_input
(
lua_State
*
);
void
luaopen_msg
(
lua_State
*
);
void
luaopen_msg
(
lua_State
*
);
void
luaopen_misc
(
lua_State
*
);
void
luaopen_misc
(
lua_State
*
);
void
luaopen_net_generic
(
lua_State
*
);
void
luaopen_object
(
lua_State
*
);
void
luaopen_object
(
lua_State
*
);
void
luaopen_osd
(
lua_State
*
);
void
luaopen_osd
(
lua_State
*
);
void
luaopen_playlist
(
lua_State
*
);
void
luaopen_playlist
(
lua_State
*
);
...
...
modules/lua/libs/net.c
View file @
13cb1f0e
...
@@ -544,17 +544,3 @@ void vlclua_fd_cleanup( vlclua_dtable_t *dt )
...
@@ -544,17 +544,3 @@ void vlclua_fd_cleanup( vlclua_dtable_t *dt )
close
(
dt
->
fd
[
0
]
);
close
(
dt
->
fd
[
0
]
);
#endif
#endif
}
}
static
const
luaL_Reg
vlclua_net_generic_reg
[]
=
{
{
"url_parse"
,
vlclua_url_parse
},
{
"stat"
,
vlclua_stat
},
/* Not really "net" */
{
"opendir"
,
vlclua_opendir
},
/* Not really "net" */
{
NULL
,
NULL
}
};
void
luaopen_net_generic
(
lua_State
*
L
)
{
lua_newtable
(
L
);
luaL_register
(
L
,
NULL
,
vlclua_net_generic_reg
);
lua_setfield
(
L
,
-
2
,
"net"
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment