mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-05-21 10:25:46 +00:00
common: Change semantics of UNREACHABLE to unconditionally crash
This commit is contained in:
@@ -659,7 +659,7 @@ Status BufferQueueProducer::Query(NativeWindow what, s32* out_value) {
|
||||
value = core->consumer_usage_bit;
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
ASSERT(false);
|
||||
return Status::BadValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user