summaryrefslogtreecommitdiffstats
path: root/lib/lz4.c
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/lz4.c
parent72e679438f9ead31e671e0738b7730f846ebde70 (diff)
downloadlz4-f11afafe234ea45a6d80f8b21df1d603ace4e025.zip
lz4-f11afafe234ea45a6d80f8b21df1d603ace4e025.tar.gz
lz4-f11afafe234ea45a6d80f8b21df1d603ace4e025.tar.bz2
Removed LZ4_compress() (obsolete) from lz4
Diffstat (limited to 'lib/lz4.c')
-rw-r--r--lib/lz4.c2
1 files changed, 1 insertions, 1 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);