Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
b2838d22
Commit
b2838d22
authored
Dec 04, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: remove dead code
parent
4baa177a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
modules/lua/intf.c
modules/lua/intf.c
+1
-16
No files found.
modules/lua/intf.c
View file @
b2838d22
...
...
@@ -73,25 +73,10 @@ static char *MakeConfig( intf_thread_t *p_intf, const char *name )
if
(
psz_http_src
)
{
char
*
psz_esc
=
config_StringEscape
(
psz_http_src
);
if
(
psz_config
)
{
char
*
psz_tmp
;
asprintf
(
&
psz_tmp
,
"%s,dir='%s'"
,
psz_config
,
psz_esc
);
free
(
psz_config
);
psz_config
=
psz_tmp
;
}
else
asprintf
(
&
psz_config
,
"http={dir='%s'"
,
psz_esc
);
asprintf
(
&
psz_config
,
"http={dir='%s',no_index=%s}"
,
psz_esc
,
b_http_index
?
"true"
:
"false"
);
free
(
psz_esc
);
free
(
psz_http_src
);
}
if
(
psz_config
)
{
char
*
psz_tmp
;
asprintf
(
&
psz_tmp
,
"%s,no_index=%s}"
,
psz_config
,
b_http_index
?
"true"
:
"false"
);
free
(
psz_config
);
psz_config
=
psz_tmp
;
}
else
asprintf
(
&
psz_config
,
"http={no_index=%s}"
,
b_http_index
?
"true"
:
"false"
);
}
...
...
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