include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up

This commit is contained in:
Lennart Poettering 2009-01-22 00:25:36 +01:00
parent 4b2a682741
commit b2ef19acc5
7 changed files with 9 additions and 0 deletions

View file

@ -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:
;
}