From b2ef19acc550dbfbd9e9a215fbda4cd9f8b0c977 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 22 Jan 2009 00:25:36 +0100 Subject: include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut up --- src/modules/module-tunnel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/module-tunnel.c') diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c index a46d6e59..61b9516a 100644 --- a/src/modules/module-tunnel.c +++ b/src/modules/module-tunnel.c @@ -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: ; } -- cgit