From 1b1de23a98dcb1bb620a5d56813e174242dbcfc4 Mon Sep 17 00:00:00 2001 From: B3n30 Date: Thu, 11 Oct 2018 20:05:45 +0200 Subject: [PATCH] Fixup: Remove unneeded GetUsername --- src/core/hle/service/apt/apt.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp index 03d6c5e4e6..eb5b7d5374 100644 --- a/src/core/hle/service/apt/apt.cpp +++ b/src/core/hle/service/apt/apt.cpp @@ -5,7 +5,6 @@ #include "common/common_paths.h" #include "common/file_util.h" #include "common/logging/log.h" -#include "common/string_util.h" #include "core/core.h" #include "core/file_sys/archive_ncch.h" #include "core/file_sys/file_backend.h" @@ -110,7 +109,6 @@ bool Module::LoadSharedFont() { ASSERT_MSG(cfg, "cfg:u not started!"); auto cfg_module = cfg->GetModule(); ASSERT_MSG(cfg_module, "CFG Module missing!"); - std::string username = Common::UTF16ToUTF8(cfg_module->GetUsername()); switch (cfg_module->GetRegionValue()) { case 4: // CHN font_region_code = 2;