Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC
Commits
4f9b8695
Commit
4f9b8695
authored
Jan 20, 2023
by
Steve Lhomme
Browse files
network: explicitly mark unreachable code
We can't exit the loop without a return.
parent
2dee0f7a
Pipeline
#305501
passed with stage
in 20 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/network/io.c
View file @
4f9b8695
...
...
@@ -361,7 +361,7 @@ int net_Accept(vlc_object_t *obj, int *fds)
return
fd
;
}
}
return
-
1
;
vlc_assert_unreachable
()
;
}
ssize_t
(
net_Read
)(
vlc_object_t
*
restrict
obj
,
int
fd
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment