diff --git a/dictBuilder/dibio.c b/dictBuilder/dibio.c index 679b6504..a471d545 100644 --- a/dictBuilder/dibio.c +++ b/dictBuilder/dibio.c @@ -77,12 +77,6 @@ static const size_t maxMemory = (sizeof(size_t) == 4) ? (2 GB - 64 MB) : ((size_ #define PRIME1 2654435761U #define PRIME2 2246822519U -#define MINRATIO 4 -static const U32 g_compressionLevel_default = 5; -static const U32 g_selectivity_default = 9; -static const size_t g_provision_entropySize = 200; -static const size_t g_min_fast_dictContent = 192; - /*-************************************* * Console display diff --git a/lib/dictBuilder.c b/lib/dictBuilder.c index ede3b3d2..fe40bea4 100644 --- a/lib/dictBuilder.c +++ b/lib/dictBuilder.c @@ -84,8 +84,6 @@ #define GB *(1U<<30) #define DICTLISTSIZE 10000 -#define MEMMULT 11 -static const size_t maxMemory = (sizeof(size_t) == 4) ? (2 GB - 64 MB) : ((size_t)(512 MB) << sizeof(size_t)); #define NOISELENGTH 32 #define PRIME1 2654435761U diff --git a/lib/divsufsort.c b/lib/divsufsort.c index ca790574..9f45df59 100644 --- a/lib/divsufsort.c +++ b/lib/divsufsort.c @@ -24,10 +24,17 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +/*- Compiler specifics -*/ +#ifdef __clang__ +#pragma clang diagnostic ignored "-Wshorten-64-to-32" +#endif + #if defined(_MSC_VER) #pragma warning(disable : 4244) #endif + +/*- Dependencies -*/ #include #include #include