From 90662f3cbade844c8edc3943ab8252e334b6166a Mon Sep 17 00:00:00 2001 From: Random <28494085+Random06457@users.noreply.github.com> Date: Sun, 12 Sep 2021 22:25:37 +0200 Subject: 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 --- ZAPD/ZArray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ZAPD/ZArray.cpp') diff --git a/ZAPD/ZArray.cpp b/ZAPD/ZArray.cpp index ee10a13..f73c025 100644 --- a/ZAPD/ZArray.cpp +++ b/ZAPD/ZArray.cpp @@ -53,7 +53,7 @@ void ZArray::ParseXML(tinyxml2::XMLElement* reader) } } -std::string ZArray::GetSourceOutputCode(const std::string& prefix) +std::string ZArray::GetSourceOutputCode([[maybe_unused]] const std::string& prefix) { std::string output = ""; -- cgit v1.2.3