mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 02:15:07 -04:00
ams-libs: AMS_ASSERT no longer invokes expression
This commit is contained in:
parent
5dc64bc1f7
commit
9b04ff0f54
38 changed files with 82 additions and 23 deletions
|
@ -426,8 +426,9 @@ namespace ams::fs {
|
|||
{
|
||||
bool normalized = false;
|
||||
const auto is_norm_result = IsNormalized(std::addressof(normalized), out, unc_preserved, has_mount_name);
|
||||
AMS_ASSERT(R_SUCCEEDED(is_norm_result));
|
||||
R_ASSERT(is_norm_result);
|
||||
AMS_ASSERT(normalized);
|
||||
AMS_UNUSED(is_norm_result, normalized);
|
||||
}
|
||||
|
||||
return ResultSuccess();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue