CStringTable: Make use of [[maybe_unused]] where applicable

This commit is contained in:
Lioncash 2020-04-23 21:24:39 -04:00
parent ee0762db32
commit 6d53912770
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ const char16_t* CStringTable::GetString(s32 str) const {
void CStringTable::SetLanguage(s32 lang) { mCurrentLanguage = languages[lang]; }
CFactoryFnReturn FStringTableFactory(const SObjectTag&, CInputStream& in, const CVParamTransfer&,
CObjectReference* selfRef) {
[[maybe_unused]] CObjectReference* selfRef) {
return TToken<CStringTable>::GetIObjObjectFor(std::make_unique<CStringTable>(in));
}