mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-22 20:44:49 +00:00
lr: Unnecessary vars 2 electric boogaloo
This commit is contained in:
parent
e7d2f83ba5
commit
5acf0be66a
1 changed files with 2 additions and 4 deletions
|
@ -51,8 +51,7 @@ namespace sts::lr {
|
|||
}
|
||||
|
||||
Result RegisteredLocationResolverInterface::RedirectProgramPath(InPointer<const Path> path, ncm::TitleId tid) {
|
||||
Path tmp_path = *path.pointer;
|
||||
this->program_redirector.SetRedirection(tid, tmp_path);
|
||||
this->program_redirector.SetRedirection(tid, *path.pointer);
|
||||
return ResultSuccess;
|
||||
}
|
||||
|
||||
|
@ -83,8 +82,7 @@ namespace sts::lr {
|
|||
}
|
||||
|
||||
Result RegisteredLocationResolverInterface::RedirectHtmlDocumentPath(InPointer<const Path> path, ncm::TitleId tid) {
|
||||
Path tmp_path = *path.pointer;
|
||||
this->html_docs_redirector.SetRedirection(tid, tmp_path);
|
||||
this->html_docs_redirector.SetRedirection(tid, *path.pointer);
|
||||
return ResultSuccess;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue