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
a660c4fb
Commit
a660c4fb
authored
May 01, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use assert() here.
If it's really wanted, functions should de inlined
parent
44460e6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
include/vlc_common.h
include/vlc_common.h
+0
-6
No files found.
include/vlc_common.h
View file @
a660c4fb
...
...
@@ -552,12 +552,8 @@ struct gc_object_t
VLC_GC_MEMBERS
};
#include <assert.h>
/* FIXME: should not be included here */
static
inline
void
__vlc_gc_incref
(
gc_object_t
*
p_gc
)
{
assert
(
p_gc
->
i_gc_refcount
>
0
);
p_gc
->
i_gc_refcount
++
;
};
...
...
@@ -565,8 +561,6 @@ static inline void __vlc_gc_decref( gc_object_t *p_gc )
{
if
(
!
p_gc
)
return
;
assert
(
p_gc
->
i_gc_refcount
>
0
);
p_gc
->
i_gc_refcount
--
;
if
(
p_gc
->
i_gc_refcount
==
0
)
...
...
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