mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up
This commit is contained in:
parent
4b2a682741
commit
b2ef19acc5
7 changed files with 9 additions and 0 deletions
|
|
@ -494,6 +494,7 @@ static int sink_set_state(pa_sink *s, pa_sink_state_t state) {
|
|||
|
||||
case PA_SINK_UNLINKED:
|
||||
case PA_SINK_INIT:
|
||||
case PA_SINK_INVALID_STATE:
|
||||
;
|
||||
}
|
||||
|
||||
|
|
@ -581,6 +582,7 @@ static int source_set_state(pa_source *s, pa_source_state_t state) {
|
|||
|
||||
case PA_SOURCE_UNLINKED:
|
||||
case PA_SOURCE_INIT:
|
||||
case PA_SINK_INVALID_STATE:
|
||||
;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue