kern: build with -Wextra
This commit is contained in:
1 parent
d3014f6ed9
commit
73798cb812
32 files changed
+100
-30
No files matched your search
@@ -493,6 +493,9 @@ namespace ams::kern {
|
||||
/* Lock ourselves, to prevent concurrent access. */
|
||||
KScopedLightLock lk(this->state_lock);
|
||||
|
||||
/* Address and size parameters aren't used. */
|
||||
MESOSPHERE_UNUSED(address, size);
|
||||
|
||||
/* Try to find an existing info for the memory. */
|
||||
KSharedMemoryInfo *info = nullptr;
|
||||
for (auto it = this->shared_memory_list.begin(); it != this->shared_memory_list.end(); ++it) {
|
||||
@@ -524,6 +527,9 @@ namespace ams::kern {
|
||||
/* Lock ourselves, to prevent concurrent access. */
|
||||
KScopedLightLock lk(this->state_lock);
|
||||
|
||||
/* Address and size parameters aren't used. */
|
||||
MESOSPHERE_UNUSED(address, size);
|
||||
|
||||
/* Find an existing info for the memory. */
|
||||
KSharedMemoryInfo *info = nullptr;
|
||||
auto it = this->shared_memory_list.begin();
|
||||
|
||||
Reference in new issue
Block a user