summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-10-05 00:46:46 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-10-05 01:41:21 +0200
commit85660967947e789c1638de4489277fce8dffbd45 (patch)
tree71647a363aa29a55f83034d94110dd2100f969cb
parentservice/audio: Silence -Wunused (diff)
downloadyuzu-85660967947e789c1638de4489277fce8dffbd45.tar
yuzu-85660967947e789c1638de4489277fce8dffbd45.tar.gz
yuzu-85660967947e789c1638de4489277fce8dffbd45.tar.bz2
yuzu-85660967947e789c1638de4489277fce8dffbd45.tar.lz
yuzu-85660967947e789c1638de4489277fce8dffbd45.tar.xz
yuzu-85660967947e789c1638de4489277fce8dffbd45.tar.zst
yuzu-85660967947e789c1638de4489277fce8dffbd45.zip
-rw-r--r--src/core/hle/service/bcat/backend/boxcat.cpp2
-rw-r--r--src/core/hle/service/bcat/module.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp
index e6ee0810b..0e451e9c2 100644
--- a/src/core/hle/service/bcat/backend/boxcat.cpp
+++ b/src/core/hle/service/bcat/backend/boxcat.cpp
@@ -88,7 +88,7 @@ std::ostream& operator<<(std::ostream& os, DownloadResult result) {
constexpr u32 PORT = 443;
constexpr u32 TIMEOUT_SECONDS = 30;
-constexpr u64 VFS_COPY_BLOCK_SIZE = 1ull << 24; // 4MB
+[[maybe_unused]] constexpr u64 VFS_COPY_BLOCK_SIZE = 1ULL << 24; // 4MB
namespace {
diff --git a/src/core/hle/service/bcat/module.cpp b/src/core/hle/service/bcat/module.cpp
index b3fed56c7..4c01bcd99 100644
--- a/src/core/hle/service/bcat/module.cpp
+++ b/src/core/hle/service/bcat/module.cpp
@@ -567,7 +567,7 @@ std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter) {
Module::Interface::Interface(std::shared_ptr<Module> module, FileSystem::FileSystemController& fsc,
const char* name)
- : ServiceFramework(name), module(std::move(module)), fsc(fsc),
+ : ServiceFramework(name), fsc(fsc), module(std::move(module)),
backend(CreateBackendFromSettings([&fsc](u64 tid) { return fsc.GetBCATDirectory(tid); })) {}
Module::Interface::~Interface() = default;