From 7ebfe5ce69c9a3871f80595246bc1ae12a95f84d Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 1 Aug 2024 01:16:29 +0200 Subject: [PATCH] Remove unused variable --- Utilities/StrFmt.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Utilities/StrFmt.cpp b/Utilities/StrFmt.cpp index 7cc595f39c..3b8a3c3344 100644 --- a/Utilities/StrFmt.cpp +++ b/Utilities/StrFmt.cpp @@ -173,9 +173,6 @@ void fmt_class_string::format(std::string& out, u64 arg) fmt::base57_result fmt::base57_result::from_string(std::string_view str) { - // Precomputed tail sizes if input data is not multiple of 8 - static constexpr u8 s_tail[8] = {0, 2, 3, 5, 6, 7, 9, 10}; - fmt::base57_result result(str.size() / 11 * 8 + (str.size() % 11 ? 8 : 0)); // Each 11 chars of input produces 8 bytes of byte output