summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2018-04-21 00:14:12 (GMT)
committerW. Felix Handte <w@felixhandte.com>2018-04-21 00:14:12 (GMT)
commit1895fa19a4f04b395f9ebb1fe38049ab4c909fc3 (patch)
tree28fc669c6d30a466a6b8859c1e901202d718a4d1
parentfcc99d1f31bf8a913fa91a5455524b4a14b9a03d (diff)
downloadlz4-1895fa19a4f04b395f9ebb1fe38049ab4c909fc3.zip
lz4-1895fa19a4f04b395f9ebb1fe38049ab4c909fc3.tar.gz
lz4-1895fa19a4f04b395f9ebb1fe38049ab4c909fc3.tar.bz2
Remove Redundant Static Assert
-rw-r--r--lib/lz4hc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c
index 23d84f4..f91ef4a 100644
--- a/lib/lz4hc.c
+++ b/lib/lz4hc.c
@@ -859,7 +859,6 @@ void LZ4_resetStreamHC (LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel)
void LZ4_resetStreamHC_fast (LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel)
{
- LZ4_STATIC_ASSERT(sizeof(LZ4HC_CCtx_internal) <= sizeof(size_t) * LZ4_STREAMHCSIZE_SIZET); /* if compilation fails here, LZ4_STREAMHCSIZE must be increased */
DEBUGLOG(4, "LZ4_resetStreamHC_fast(%p, %d)", LZ4_streamHCPtr, compressionLevel);
LZ4_streamHCPtr->internal_donotuse.end -= (uptrval)LZ4_streamHCPtr->internal_donotuse.base;
LZ4_streamHCPtr->internal_donotuse.base = NULL;