summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-21 17:31:35 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-21 17:31:35 (GMT)
commitf11afafe234ea45a6d80f8b21df1d603ace4e025 (patch)
tree1a8b6b7e38a9bdb6da6878adfd5b8ad4079c4ce6 /lib
parent72e679438f9ead31e671e0738b7730f846ebde70 (diff)
downloadlz4-f11afafe234ea45a6d80f8b21df1d603ace4e025.zip
lz4-f11afafe234ea45a6d80f8b21df1d603ace4e025.tar.gz
lz4-f11afafe234ea45a6d80f8b21df1d603ace4e025.tar.bz2
Removed LZ4_compress() (obsolete) from lz4
Diffstat (limited to 'lib')
-rw-r--r--lib/lz4.c2
-rw-r--r--lib/lz4.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index 53cd4a9..490f9ce 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -685,7 +685,7 @@ int LZ4_compress_safe(const char* source, char* dest, int inputSize, int maxOutp
#if (HEAPMODE)
void* ctx = ALLOCATOR(LZ4_STREAMSIZE_U64, 8); /* malloc-calloc aligned on 8-bytes boundaries */
#else
- U64 ctx[LZ4_STREAMSIZE_U64] = {0}; /* Ensure data is aligned on 8-bytes boundaries */
+ U64 ctx[LZ4_STREAMSIZE_U64]; /* Ensure data is aligned on 8-bytes boundaries */
#endif
int result = LZ4_compress_safe_extState(ctx, source, dest, inputSize, maxOutputSize);
diff --git a/lib/lz4.h b/lib/lz4.h
index 98296e9..cf06a8e 100644
--- a/lib/lz4.h
+++ b/lib/lz4.h
@@ -302,7 +302,7 @@ int LZ4_decompress_fast_usingDict (const char* source, char* dest, int originalS
#endif // LZ4_DEPRECATE_WARNING_DEFBLOCK
/* Obsolete compression functions */
-/* These functions are planned to generate warnings by r131 approximately */
+/* These functions are planned to start generate warnings by r131 approximately */
int LZ4_compress (const char* source, char* dest, int sourceSize);
int LZ4_compress_limitedOutput (const char* source, char* dest, int sourceSize, int maxOutputSize);
int LZ4_compress_withState (void* state, const char* source, char* dest, int inputSize);