summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-07 07:33:00 +0100
committerGitHub <noreply@github.com>2020-12-07 07:33:00 +0100
commita58d57a60de0301e80bb0fc459bd4aa3ea87bcd9 (patch)
tree5b4c28125911163694b184903ff914eb0b34e79a /src/core
parentMerge pull request #5154 from comex/xx-ipc (diff)
parentcore: Mark unused fields as [[maybe_unused]] (diff)
downloadyuzu-a58d57a60de0301e80bb0fc459bd4aa3ea87bcd9.tar
yuzu-a58d57a60de0301e80bb0fc459bd4aa3ea87bcd9.tar.gz
yuzu-a58d57a60de0301e80bb0fc459bd4aa3ea87bcd9.tar.bz2
yuzu-a58d57a60de0301e80bb0fc459bd4aa3ea87bcd9.tar.lz
yuzu-a58d57a60de0301e80bb0fc459bd4aa3ea87bcd9.tar.xz
yuzu-a58d57a60de0301e80bb0fc459bd4aa3ea87bcd9.tar.zst
yuzu-a58d57a60de0301e80bb0fc459bd4aa3ea87bcd9.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/memory/memory_block_manager.h4
-rw-r--r--src/core/hle/service/ncm/ncm.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/memory/memory_block_manager.h b/src/core/hle/kernel/memory/memory_block_manager.h
index 6e1d41075..f57d1bbcc 100644
--- a/src/core/hle/kernel/memory/memory_block_manager.h
+++ b/src/core/hle/kernel/memory/memory_block_manager.h
@@ -57,8 +57,8 @@ public:
private:
void MergeAdjacent(iterator it, iterator& next_it);
- const VAddr start_addr;
- const VAddr end_addr;
+ [[maybe_unused]] const VAddr start_addr;
+ [[maybe_unused]] const VAddr end_addr;
MemoryBlockTree memory_block_tree;
};
diff --git a/src/core/hle/service/ncm/ncm.cpp b/src/core/hle/service/ncm/ncm.cpp
index b8d627ca8..2dcda16f6 100644
--- a/src/core/hle/service/ncm/ncm.cpp
+++ b/src/core/hle/service/ncm/ncm.cpp
@@ -45,7 +45,7 @@ public:
}
private:
- FileSys::StorageId storage;
+ [[maybe_unused]] FileSys::StorageId storage;
};
class IRegisteredLocationResolver final : public ServiceFramework<IRegisteredLocationResolver> {