sts: add STS_UNREACHABLE_DEFAULT_CASE()
This commit is contained in:
1 parent
609a302e16
commit
add18d868f
23 files changed
+50
-87
No files matched your search
@@ -100,8 +100,7 @@ namespace sts::boot {
|
||||
return &BatteryChargeParameters1;
|
||||
case 2:
|
||||
return &BatteryChargeParameters2;
|
||||
default:
|
||||
std::abort();
|
||||
STS_UNREACHABLE_DEFAULT_CASE();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -281,8 +280,7 @@ namespace sts::boot {
|
||||
case CheckBatteryResult::Reboot:
|
||||
RebootSystem();
|
||||
break;
|
||||
default:
|
||||
std::abort();
|
||||
STS_UNREACHABLE_DEFAULT_CASE();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user