mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 09:55:07 -04:00
ams: globally prefer R_RETURN to return for ams::Result
This commit is contained in:
parent
dd78ede99f
commit
bbf22b4c60
325 changed files with 1955 additions and 1993 deletions
|
@ -619,7 +619,7 @@ namespace ams::fs {
|
|||
}
|
||||
|
||||
static constexpr ALWAYS_INLINE Result SkipMountName(const char **out, size_t *out_len, const char *path) {
|
||||
return ParseMountName(out, out_len, nullptr, 0, path);
|
||||
R_RETURN(ParseMountName(out, out_len, nullptr, 0, path));
|
||||
}
|
||||
|
||||
static constexpr Result ParseMountName(const char **out, size_t *out_len, char *out_mount_name, size_t out_mount_name_buffer_size, const char *path) {
|
||||
|
@ -684,7 +684,7 @@ namespace ams::fs {
|
|||
}
|
||||
|
||||
static constexpr ALWAYS_INLINE Result SkipRelativeDotPath(const char **out, size_t *out_len, const char *path) {
|
||||
return ParseRelativeDotPath(out, out_len, nullptr, 0, path);
|
||||
R_RETURN(ParseRelativeDotPath(out, out_len, nullptr, 0, path));
|
||||
}
|
||||
|
||||
static constexpr Result ParseRelativeDotPath(const char **out, size_t *out_len, char *out_relative, size_t out_relative_buffer_size, const char *path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue