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
58a1d71b
Commit
58a1d71b
authored
May 14, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless constant
parent
82e52ea8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
src/misc/objects.c
src/misc/objects.c
+2
-8
No files found.
src/misc/objects.c
View file @
58a1d71b
...
@@ -62,12 +62,6 @@
...
@@ -62,12 +62,6 @@
#endif
#endif
#include <assert.h>
#include <assert.h>
/*****************************************************************************
* Constants
*****************************************************************************/
const
vlc_destructor_t
kVLCDestructor
=
NULL
;
/*****************************************************************************
/*****************************************************************************
* Local prototypes
* Local prototypes
*****************************************************************************/
*****************************************************************************/
...
@@ -170,7 +164,7 @@ void *vlc_custom_create( vlc_object_t *p_this, size_t i_size,
...
@@ -170,7 +164,7 @@ void *vlc_custom_create( vlc_object_t *p_this, size_t i_size,
vlc_spin_init
(
&
p_priv
->
ref_spin
);
vlc_spin_init
(
&
p_priv
->
ref_spin
);
p_priv
->
i_refcount
=
1
;
p_priv
->
i_refcount
=
1
;
p_priv
->
pf_destructor
=
kVLCDestructor
;
p_priv
->
pf_destructor
=
NULL
;
p_priv
->
b_thread
=
false
;
p_priv
->
b_thread
=
false
;
p_new
->
p_parent
=
NULL
;
p_new
->
p_parent
=
NULL
;
p_new
->
pp_children
=
NULL
;
p_new
->
pp_children
=
NULL
;
...
@@ -321,7 +315,7 @@ static void vlc_object_destroy( vlc_object_t *p_this )
...
@@ -321,7 +315,7 @@ static void vlc_object_destroy( vlc_object_t *p_this )
{
{
vlc_object_internals_t
*
p_priv
=
vlc_internals
(
p_this
);
vlc_object_internals_t
*
p_priv
=
vlc_internals
(
p_this
);
/* Automatically detach the object from its parent
s
*/
/* Automatically detach the object from its parent */
if
(
p_this
->
p_parent
)
vlc_object_detach
(
p_this
);
if
(
p_this
->
p_parent
)
vlc_object_detach
(
p_this
);
...
...
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