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
a31f8ebb
Commit
a31f8ebb
authored
Nov 05, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
variables: remove obsolete detached object debug code
Objects cannot be detached anymore...
parent
13973497
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
src/misc/variables.c
src/misc/variables.c
+0
-17
No files found.
src/misc/variables.c
View file @
a31f8ebb
...
...
@@ -1231,28 +1231,11 @@ static void CheckValue ( variable_t *p_var, vlc_value_t *p_val )
int
var_Inherit
(
vlc_object_t
*
p_this
,
const
char
*
psz_name
,
int
i_type
,
vlc_value_t
*
p_val
)
{
#ifndef NDEBUG
if
(
p_this
!=
VLC_OBJECT
(
p_this
->
p_libvlc
)
&&
unlikely
(
p_this
->
p_parent
==
NULL
))
{
msg_Info
(
p_this
,
"%s(%s) on detached object"
,
__func__
,
psz_name
);
//vlc_backtrace ();
}
#endif
i_type
&=
VLC_VAR_CLASS
;
for
(
vlc_object_t
*
obj
=
p_this
;
obj
!=
NULL
;
obj
=
obj
->
p_parent
)
{
if
(
var_GetChecked
(
obj
,
psz_name
,
i_type
,
p_val
)
==
VLC_SUCCESS
)
return
VLC_SUCCESS
;
#ifndef NDEBUG
if
(
obj
!=
p_this
&&
obj
!=
VLC_OBJECT
(
p_this
->
p_libvlc
)
&&
unlikely
(
obj
->
p_parent
==
NULL
))
{
msg_Info
(
p_this
,
"%s(%s) on detached tree [%p] %s"
,
__func__
,
psz_name
,
obj
,
obj
->
psz_object_type
);
//vlc_backtrace ();
}
#endif
}
/* else take value from config */
...
...
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