summaryrefslogtreecommitdiffstats
path: root/lib_generic/crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_generic/crc32.c')
-rw-r--r--lib_generic/crc32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c
index ce18fc2252..50ca4ffd38 100644
--- a/lib_generic/crc32.c
+++ b/lib_generic/crc32.c
@@ -178,7 +178,6 @@ uLong ZEXPORT crc32(crc, buf, len)
*/
uLong ZEXPORT crc32_no_comp(uLong crc, const Bytef *buf, uInt len)
{
- if (buf == Z_NULL) return 0L;
#ifdef DYNAMIC_CRC_TABLE
if (crc_table_empty)
make_crc_table();
OpenPOWER on IntegriCloud