summaryrefslogtreecommitdiff
path: root/ZAPD/ZRoom/Commands/SetEntranceList.cpp
diff options
context:
space:
mode:
authorRandom <28494085+Random06457@users.noreply.github.com>2021-09-12 22:25:37 +0200
committerGitHub <noreply@github.com>2021-09-12 16:25:37 -0400
commit90662f3cbade844c8edc3943ab8252e334b6166a (patch)
treecc794d60659a4640d36af52b580228891515e0dc /ZAPD/ZRoom/Commands/SetEntranceList.cpp
parent5da00201f261f8ac4927064f1390e886672cda58 (diff)
Fix compilation with -Wextra (#164)
* add -Wextra -Werror * remove void arg in GfxdCallback_FormatSingleEntry * mark CRC32 functions as maybe_unused * remove useless comment * fix clang warnings * replace (void) with [[maybe_unused]] * run make format
Diffstat (limited to 'ZAPD/ZRoom/Commands/SetEntranceList.cpp')
-rw-r--r--ZAPD/ZRoom/Commands/SetEntranceList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPD/ZRoom/Commands/SetEntranceList.cpp b/ZAPD/ZRoom/Commands/SetEntranceList.cpp
index b344e52..df0ba69 100644
--- a/ZAPD/ZRoom/Commands/SetEntranceList.cpp
+++ b/ZAPD/ZRoom/Commands/SetEntranceList.cpp
@@ -9,7 +9,7 @@ SetEntranceList::SetEntranceList(ZFile* nParent) : ZRoomCommand(nParent)
{
}
-void SetEntranceList::DeclareReferences(const std::string& prefix)
+void SetEntranceList::DeclareReferences([[maybe_unused]] const std::string& prefix)
{
if (segmentOffset != 0)
parent->AddDeclarationPlaceholder(segmentOffset);
@@ -30,7 +30,7 @@ void SetEntranceList::ParseRawDataLate()
}
}
-void SetEntranceList::DeclareReferencesLate(const std::string& prefix)
+void SetEntranceList::DeclareReferencesLate([[maybe_unused]] const std::string& prefix)
{
if (!entrances.empty())
{