]> git.ipfire.org Git - thirdparty/zstd.git/commit
Use ZSTD_CCtxParams_init() to Init CCtxParams, not memset()
authorW. Felix Handte <w@felixhandte.com>
Thu, 17 Sep 2020 16:15:33 +0000 (12:15 -0400)
committerW. Felix Handte <w@felixhandte.com>
Thu, 17 Sep 2020 16:15:33 +0000 (12:15 -0400)
commit8930c6e551c90738bc8df0b4ae212d2078289329
tree48b416deed8a4f53849782958c404e1ed9245fd7
parente8a44326faa695bfe25bf1ef10abfda678a94ae2
Use ZSTD_CCtxParams_init() to Init CCtxParams, not memset()

Even if the discrepancies are at the moment benign, it's probably better to
standardize on using the one true initializer, rather than trying (and failing)
to correctly duplicate its behavior.
lib/compress/zstd_compress.c