Message ID | 20200612001612.CD2223A04C6@moya.office.hostfission.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/6] audio/jack: fix invalid minimum buffer size check | expand |
diff --git a/audio/jackaudio.c b/audio/jackaudio.c index d0b6f748f2..fb8efd7af7 100644 --- a/audio/jackaudio.c +++ b/audio/jackaudio.c @@ -38,7 +38,6 @@ struct QJack; typedef enum QJackState { QJACK_STATE_DISCONNECTED, - QJACK_STATE_STOPPED, QJACK_STATE_RUNNING, QJACK_STATE_SHUTDOWN } @@ -549,9 +548,6 @@ static void qjack_client_fini(QJackClient *c) { switch (c->state) { case QJACK_STATE_RUNNING: - /* fallthrough */ - - case QJACK_STATE_STOPPED: for (int i = 0; i < c->nchannels; ++i) { jack_port_unregister(c->client, c->port[i]); }
Signed-off-by: Geoffrey McRae <geoff@hostfission.com> --- audio/jackaudio.c | 4 ---- 1 file changed, 4 deletions(-)