]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sound: Add __assert_unreachable() to default cases in pcm_chn_add() and pcm_chn_remove()
authorChristos Margiolis <christos@FreeBSD.org>
Mon, 6 May 2024 18:26:56 +0000 (20:26 +0200)
committerChristos Margiolis <christos@FreeBSD.org>
Mon, 6 May 2024 18:26:56 +0000 (20:26 +0200)
commit76f95bae092b7353ff82b7a0056ca5801bb98f76
treee6550048c82d41eea83c74ba308ac7239f09f4d2
parent2e9962ef57044b191431fe9228841e1415574d82
sound: Add __assert_unreachable() to default cases in pcm_chn_add() and pcm_chn_remove()

We should normally never enter these cases.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D44994
sys/dev/sound/pcm/sound.c