mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 06:25:20 -04:00
sts: add STS_UNREACHABLE_DEFAULT_CASE()
This commit is contained in:
parent
609a302e16
commit
add18d868f
23 changed files with 50 additions and 87 deletions
|
@ -122,9 +122,8 @@ namespace sts::fatal::srv {
|
|||
RunTasks(&this->context);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
/* N aborts here. Should we just return an error code? */
|
||||
std::abort();
|
||||
/* N aborts here. Should we just return an error code? */
|
||||
STS_UNREACHABLE_DEFAULT_CASE();
|
||||
}
|
||||
|
||||
return ResultSuccess;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue