mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
utils: code clean up
removed unnecessary declares.
This commit is contained in:
parent
42251ecbe7
commit
4c5f858aa1
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||||
|
@ -424,5 +424,3 @@ uint8_t* lzwEncode(const uint8_t* uncompressed, uint32_t uncompressedSizeBytes,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue