Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
7f10e7a6
Unverified
Commit
7f10e7a6
authored
Mar 15, 2020
by
Rosen Penev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix implicit-fallthrough warnings under clang
Signed-off-by:
Rosen Penev
<
rosenp@gmail.com
>
parent
b5d1a090
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
AlsaInputPlugin.cxx
src/input/plugins/AlsaInputPlugin.cxx
+1
-1
AlsaOutputPlugin.cxx
src/output/plugins/AlsaOutputPlugin.cxx
+1
-1
Thread.cxx
src/player/Thread.cxx
+3
-1
No files found.
src/input/plugins/AlsaInputPlugin.cxx
View file @
7f10e7a6
...
...
@@ -289,7 +289,7 @@ AlsaInputStream::Recover(int err)
if
(
err
==
-
EAGAIN
)
return
0
;
/* fall-through to snd_pcm_prepare: */
#if
GCC_CHECK
_VERSION(7,0)
#if
CLANG_OR_GCC
_VERSION(7,0)
[[
fallthrough
]];
#endif
case
SND_PCM_STATE_OPEN
:
...
...
src/output/plugins/AlsaOutputPlugin.cxx
View file @
7f10e7a6
...
...
@@ -763,7 +763,7 @@ AlsaOutput::Recover(int err) noexcept
if
(
err
==
-
EAGAIN
)
return
0
;
/* fall-through to snd_pcm_prepare: */
#if
GCC_CHECK
_VERSION(7,0)
#if
CLANG_OR_GCC
_VERSION(7,0)
[[
fallthrough
]];
#endif
case
SND_PCM_STATE_OPEN
:
...
...
src/player/Thread.cxx
View file @
7f10e7a6
...
...
@@ -1176,7 +1176,9 @@ try {
}
/* fall through */
gcc_fallthrough
;
#if CLANG_OR_GCC_VERSION(7,0)
[[
fallthrough
]];
#endif
case
PlayerCommand
:
:
PAUSE
:
next_song
.
reset
();
...
...
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