summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/read_printf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libbb/read_printf.c b/libbb/read_printf.c
index 6780b94ef..1b215f97a 100644
--- a/libbb/read_printf.c
+++ b/libbb/read_printf.c
@@ -289,8 +289,6 @@ void FAST_FUNC setup_unzip_on_fd(int fd /*, int fail_if_not_detected*/)
289 if (ENABLE_FEATURE_SEAMLESS_XZ 289 if (ENABLE_FEATURE_SEAMLESS_XZ
290 && magic.b16[0] == XZ_MAGIC1 290 && magic.b16[0] == XZ_MAGIC1
291 ) { 291 ) {
292 /* .xz signature: 0xfd, '7', 'z', 'X', 'Z', 0x00 */
293 /* More info at: http://tukaani.org/xz/xz-file-format.txt */
294 offset = -6; 292 offset = -6;
295 xread(fd, magic.b32, sizeof(magic.b32[0])); 293 xread(fd, magic.b32, sizeof(magic.b32[0]));
296 if (magic.b32[0] == XZ_MAGIC2) { 294 if (magic.b32[0] == XZ_MAGIC2) {