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

@ -715,6 +715,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
case PA_SINK_UNLINKED: case PA_SINK_UNLINKED:
case PA_SINK_INIT: case PA_SINK_INIT:
case PA_SINK_INVALID_STATE:
; ;
} }

View file

@ -661,6 +661,7 @@ static int source_process_msg(pa_msgobject *o, int code, void *data, int64_t off
case PA_SOURCE_UNLINKED: case PA_SOURCE_UNLINKED:
case PA_SOURCE_INIT: case PA_SOURCE_INIT:
case PA_SOURCE_INVALID_STATE:
; ;
} }

View file

@ -627,6 +627,7 @@ static int sink_set_state(pa_sink *sink, pa_sink_state_t state) {
case PA_SINK_UNLINKED: case PA_SINK_UNLINKED:
case PA_SINK_INIT: case PA_SINK_INIT:
case PA_SINK_INVALID_STATE:
; ;
} }

View file

@ -156,6 +156,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
case PA_SINK_UNLINKED: case PA_SINK_UNLINKED:
case PA_SINK_INIT: case PA_SINK_INIT:
case PA_SINK_INVALID_STATE:
; ;
} }

View file

@ -195,6 +195,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
case PA_SINK_UNLINKED: case PA_SINK_UNLINKED:
case PA_SINK_INIT: case PA_SINK_INIT:
case PA_SINK_INVALID_STATE:
; ;
} }

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_UNLINKED:
case PA_SINK_INIT: 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_UNLINKED:
case PA_SOURCE_INIT: case PA_SOURCE_INIT:
case PA_SINK_INVALID_STATE:
; ;
} }

View file

@ -681,6 +681,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
break; break;
case PA_SINK_INVALID_STATE:
case PA_SINK_UNLINKED: case PA_SINK_UNLINKED:
case PA_SINK_INIT: case PA_SINK_INIT:
; ;
@ -762,6 +763,7 @@ static int source_process_msg(pa_msgobject *o, int code, void *data, int64_t off
case PA_SOURCE_UNLINKED: case PA_SOURCE_UNLINKED:
case PA_SOURCE_INIT: case PA_SOURCE_INIT:
case PA_SOURCE_INVALID_STATE:
; ;
} }