From 51ffa15a6477fe6d141c7aaf80c4bbf884e36823 Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 6 Feb 2024 20:20:42 -0500 Subject: [PATCH] Werror --- ZAPD/ZCutscene.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ZAPD/ZCutscene.cpp b/ZAPD/ZCutscene.cpp index 5a49087f..4cf37599 100644 --- a/ZAPD/ZCutscene.cpp +++ b/ZAPD/ZCutscene.cpp @@ -377,6 +377,8 @@ std::string ZCutscene::GetCsEncodedFloat(float f, CsFloatType type, bool useSciN { switch (type) { + default: + // This default case will NEVER be reached, but GCC still gives a warning. case CsFloatType::HexOnly: { uint32_t i;