From 4c5f858aa1fa0a67bc1c4e10d3380918728ddf35 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Mon, 7 Aug 2023 01:10:07 +0900 Subject: [PATCH] utils: code clean up removed unnecessary declares. --- src/utils/tvgLzw.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/utils/tvgLzw.cpp b/src/utils/tvgLzw.cpp index 52f4ed67..90b7dc29 100644 --- a/src/utils/tvgLzw.cpp +++ b/src/utils/tvgLzw.cpp @@ -55,7 +55,6 @@ */ #include "config.h" -#if defined(THORVG_TVG_SAVER_SUPPORT) || defined(THORVG_TVG_LOADER_SUPPORT) /************************************************************************/ /* Internal Class Implementation */ @@ -66,6 +65,7 @@ #include "tvgLzw.h" namespace { + //LZW Dictionary helper: constexpr int Nil = -1; constexpr int MaxDictBits = 12; @@ -423,6 +423,4 @@ uint8_t* lzwEncode(const uint8_t* uncompressed, uint32_t uncompressedSizeBytes, return bitStream.release(); } -} - -#endif +} \ No newline at end of file