From 32dc7ff59ca2c24272a103da07bf7b44afeec428 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Thu, 15 Aug 2019 20:46:53 +1000 Subject: [PATCH] lr: Unnecessary vars 2 electric boogaloo --- stratosphere/ncm/source/lr_registeredlocationresolver.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/stratosphere/ncm/source/lr_registeredlocationresolver.cpp b/stratosphere/ncm/source/lr_registeredlocationresolver.cpp index 4a491f928..8e9f53efa 100644 --- a/stratosphere/ncm/source/lr_registeredlocationresolver.cpp +++ b/stratosphere/ncm/source/lr_registeredlocationresolver.cpp @@ -51,8 +51,7 @@ namespace sts::lr { } Result RegisteredLocationResolverInterface::RedirectProgramPath(InPointer 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 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; }