mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
treewide: use spa_assert_not_reached() instead of assert(false)
This commit is contained in:
parent
436787d6ba
commit
06ba425378
2 changed files with 2 additions and 2 deletions
|
|
@ -848,7 +848,7 @@ static int parse_device(struct impl *this)
|
||||||
switch (value_index) {
|
switch (value_index) {
|
||||||
case 0: value_label = "card"; break;
|
case 0: value_label = "card"; break;
|
||||||
case 1: value_label = "device"; break;
|
case 1: value_label = "device"; break;
|
||||||
default: assert(false);
|
default: spa_assert_not_reached();
|
||||||
}
|
}
|
||||||
|
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
|
|
||||||
|
|
@ -443,7 +443,7 @@ static int set_channel_conf(const struct media_codec *codec, a2dp_opus_05_t *cap
|
||||||
OPUS_05_SET_LOCATION(caps->bidi, props->bidi_location);
|
OPUS_05_SET_LOCATION(caps->bidi, props->bidi_location);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
spa_assert(false);
|
spa_assert_not_reached();
|
||||||
};
|
};
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue