Merge pull request #5148 from comex/xx-unused-fields

core: Mark unused fields as [[maybe_unused]]
This commit is contained in:
bunnei 2020-12-06 22:33:00 -08:00 committed by GitHub
commit a58d57a60d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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;
};

View File

@ -45,7 +45,7 @@ public:
}
private:
FileSys::StorageId storage;
[[maybe_unused]] FileSys::StorageId storage;
};
class IRegisteredLocationResolver final : public ServiceFramework<IRegisteredLocationResolver> {