utils: code clean up

removed unnecessary declares.
This commit is contained in:
Hermet Park 2023-08-07 01:10:07 +09:00 committed by Hermet Park
parent 42251ecbe7
commit 4c5f858aa1

View file

@ -55,7 +55,6 @@
*/ */
#include "config.h" #include "config.h"
#if defined(THORVG_TVG_SAVER_SUPPORT) || defined(THORVG_TVG_LOADER_SUPPORT)
/************************************************************************/ /************************************************************************/
/* Internal Class Implementation */ /* Internal Class Implementation */
@ -66,6 +65,7 @@
#include "tvgLzw.h" #include "tvgLzw.h"
namespace { namespace {
//LZW Dictionary helper: //LZW Dictionary helper:
constexpr int Nil = -1; constexpr int Nil = -1;
constexpr int MaxDictBits = 12; constexpr int MaxDictBits = 12;
@ -423,6 +423,4 @@ uint8_t* lzwEncode(const uint8_t* uncompressed, uint32_t uncompressedSizeBytes,
return bitStream.release(); return bitStream.release();
} }
} }
#endif