treewide: use spa_assert_not_reached() instead of assert(false)

This commit is contained in:
Barnabás Pőcze 2023-09-16 17:50:25 +02:00
parent 436787d6ba
commit 06ba425378
2 changed files with 2 additions and 2 deletions

View file

@ -848,7 +848,7 @@ static int parse_device(struct impl *this)
switch (value_index) {
case 0: value_label = "card"; break;
case 1: value_label = "device"; break;
default: assert(false);
default: spa_assert_not_reached();
}
errno = 0;

View file

@ -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);
break;
default:
spa_assert(false);
spa_assert_not_reached();
};
return 0;