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
e2da5c14
Commit
e2da5c14
authored
Aug 20, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: avoid invalid zero-size array
parent
af9c01e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/control/dbus/dbus.c
modules/control/dbus/dbus.c
+1
-1
No files found.
modules/control/dbus/dbus.c
View file @
e2da5c14
...
...
@@ -833,7 +833,7 @@ static void *Run( void *data )
/* Get the list of watches to process */
i_watches
=
vlc_array_count
(
p_sys
->
p_watches
);
DBusWatch
*
p_watches
[
i_watches
];
DBusWatch
*
p_watches
[
i_watches
?
i_watches
:
1
];
for
(
int
i
=
0
;
i
<
i_watches
;
i
++
)
{
p_watches
[
i
]
=
vlc_array_item_at_index
(
p_sys
->
p_watches
,
i
);
...
...
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