diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-04-21 17:31:35 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-04-21 17:31:35 (GMT) |
commit | f11afafe234ea45a6d80f8b21df1d603ace4e025 (patch) | |
tree | 1a8b6b7e38a9bdb6da6878adfd5b8ad4079c4ce6 /lib | |
parent | 72e679438f9ead31e671e0738b7730f846ebde70 (diff) | |
download | lz4-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.c | 2 | ||||
-rw-r--r-- | lib/lz4.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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); @@ -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); |