summaryrefslogtreecommitdiff
path: root/bits.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2015-07-28 22:31:30 -0700
committerJim Meyering <meyering@fb.com>2015-07-30 09:24:48 -0700
commit0f0c6c12169dd2bcb05909e20e10f94a1c54d69f (patch)
tree83356f3c4439e1f513a1bd25e1766e487cb40383 /bits.c
parent5054e88a7934d5ff5ec14231c8b8676161bb45fa (diff)
downloadgzip-0f0c6c12169dd2bcb05909e20e10f94a1c54d69f.tar.gz
maint: remove dead code
This package has not been compilable with -DCRYPT since commit v1.4-82-g9d1b943. Remove final vestiges. * bits.c (copy_block) [CRYPT]: Remove #ifdef'd code. * inflate.c (NEXTBYTE) [CRYPT]: Likewise. Prompted by a report from Flávio Medeiros that HEADER and T might be used uninitialized.
Diffstat (limited to 'bits.c')
-rw-r--r--bits.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bits.c b/bits.c
index 03ea3e9..a6dc4de 100644
--- a/bits.c
+++ b/bits.c
@@ -205,10 +205,6 @@ void copy_block(buf, len, header)
bits_sent += (off_t)len<<3;
#endif
while (len--) {
-#ifdef CRYPT
- int t;
- if (key) zencode(*buf, t);
-#endif
put_byte(*buf++);
}
}