ams-libs: AMS_ASSERT no longer invokes expression
This commit is contained in:
1 parent
5dc64bc1f7
commit
9b04ff0f54
38 files changed
+82
-23
No files matched your search
@@ -32,8 +32,9 @@ namespace ams::fs {
|
||||
AMS_ABORT_UNLESS(dst_size >= needed_size);
|
||||
|
||||
/* Generate the name. */
|
||||
auto size = util::SNPrintf(dst, dst_size, "%s:", GetContentStorageMountName(id));
|
||||
const auto size = util::SNPrintf(dst, dst_size, "%s:", GetContentStorageMountName(id));
|
||||
AMS_ASSERT(static_cast<size_t>(size) == needed_size - 1);
|
||||
AMS_UNUSED(size);
|
||||
|
||||
return ResultSuccess();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user