ams: globally prefer R_RETURN to return for ams::Result
This commit is contained in:
@@ -21,7 +21,7 @@ namespace ams::ncm {
|
||||
namespace {
|
||||
|
||||
Result MountContentMetaByRemoteFileSystemProxy(const char *mount_name, const char *path) {
|
||||
return fs::MountContent(mount_name, path, fs::ContentType_Meta);
|
||||
R_RETURN(fs::MountContent(mount_name, path, fs::ContentType_Meta));
|
||||
}
|
||||
|
||||
constinit MountContentMetaFunction g_mount_content_meta_func = MountContentMetaByRemoteFileSystemProxy;
|
||||
@@ -219,7 +219,7 @@ namespace ams::ncm {
|
||||
R_UNLESS(force_refer_to_base, ncm::ResultInvalidFirmwareVariation());
|
||||
|
||||
/* Force a referral to base. */
|
||||
return ReadMetaInfoListFromBase();
|
||||
R_RETURN(ReadMetaInfoListFromBase());
|
||||
}
|
||||
|
||||
/* Obtain the variation info. */
|
||||
|
||||
Reference in New Issue
Block a user