From 0f18e9026badead7c8528248913f84cad7491366 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Sat, 5 Aug 2023 11:52:41 +0900 Subject: [PATCH] utils str: remove unnecessary definitions. the compiler would remove the code if nowhere uses the internal functions. --- src/utils/tvgStr.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/tvgStr.cpp b/src/utils/tvgStr.cpp index 742e2fa5..0e6ca953 100644 --- a/src/utils/tvgStr.cpp +++ b/src/utils/tvgStr.cpp @@ -26,7 +26,6 @@ #include "tvgMath.h" #include "tvgStr.h" -#if defined(THORVG_SVG_LOADER_SUPPORT) || defined(THORVG_LOTTIE_LOADER_SUPPORT) /************************************************************************/ /* Internal Class Implementation */ @@ -219,5 +218,3 @@ char* strDuplicate(const char *str, size_t n) } } - -#endif