Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
426
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
17f4c6a3
Commit
17f4c6a3
authored
2 years ago
by
Steve Lhomme
Browse files
Options
Downloads
Patches
Plain Diff
modules: don't return an expression in void functions
It's not allowed in C11 (but OK in C++).
parent
fdd5c00c
No related branches found
No related tags found
Loading
Pipeline
#304723
passed with stage
Stage:
in 24 minutes and 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/access/http/h1conn_test.c
+1
-1
1 addition, 1 deletion
modules/access/http/h1conn_test.c
modules/control/hotkeys.c
+6
-2
6 additions, 2 deletions
modules/control/hotkeys.c
with
7 additions
and
3 deletions
modules/access/http/h1conn_test.c
+
1
−
1
View file @
17f4c6a3
...
...
@@ -69,7 +69,7 @@ static void conn_send_raw(const void *buf, size_t len)
static
void
conn_send
(
const
char
*
str
)
{
return
conn_send_raw
(
str
,
strlen
(
str
));
conn_send_raw
(
str
,
strlen
(
str
));
}
static
void
conn_shutdown
(
bool
duplex
)
...
...
This diff is collapsed.
Click to expand it.
modules/control/hotkeys.c
+
6
−
2
View file @
17f4c6a3
...
...
@@ -77,7 +77,8 @@ INTF_ACTION_HANDLER()
switch
(
action_id
)
{
case
ACTIONID_QUIT
:
return
libvlc_Quit
(
vlc_object_instance
(
intf
));
libvlc_Quit
(
vlc_object_instance
(
intf
));
return
;
case
ACTIONID_INTF_TOGGLE_FSC
:
case
ACTIONID_INTF_HIDE
:
varname
=
"intf-toggle-fscontrol"
;
...
...
@@ -1098,7 +1099,10 @@ handle_action(intf_thread_t *intf, vlc_action_id_t action_id)
actions
[
action_idx
].
range
.
last
>=
action_id
)
break
;
if
(
actions
[
action_idx
].
type
==
NULL_ACTION
)
return
msg_Warn
(
intf
,
"no handler for action %d"
,
action_id
);
{
msg_Warn
(
intf
,
"no handler for action %d"
,
action_id
);
return
;
}
struct
vlc_action
const
*
action
=
actions
+
action_idx
;
vlc_playlist_t
*
playlist
=
intf
->
p_sys
->
playlist
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment