summaryrefslogtreecommitdiff
path: root/pkg/bzip2/patch/0001-Remove-unused-nread-variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bzip2/patch/0001-Remove-unused-nread-variable.patch')
-rw-r--r--pkg/bzip2/patch/0001-Remove-unused-nread-variable.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/pkg/bzip2/patch/0001-Remove-unused-nread-variable.patch b/pkg/bzip2/patch/0001-Remove-unused-nread-variable.patch
deleted file mode 100644
index 7b322a21..00000000
--- a/pkg/bzip2/patch/0001-Remove-unused-nread-variable.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 00cc7127e58adeeba4485fab901215b6df6184f6 Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Sat, 10 Dec 2016 23:37:57 -0800
-Subject: [PATCH] Remove unused nread variable
-
----
- bzip2.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/bzip2.c b/bzip2.c
-index 6de9d1d..1dd5424 100644
---- a/bzip2.c
-+++ b/bzip2.c
-@@ -554,7 +554,7 @@ static
- Bool testStream ( FILE *zStream )
- {
- BZFILE* bzf = NULL;
-- Int32 bzerr, bzerr_dummy, ret, nread, streamNo, i;
-+ Int32 bzerr, bzerr_dummy, ret, streamNo, i;
- UChar obuf[5000];
- UChar unused[BZ_MAX_UNUSED];
- Int32 nUnused;
-@@ -577,7 +577,7 @@ Bool testStream ( FILE *zStream )
- streamNo++;
-
- while (bzerr == BZ_OK) {
-- nread = BZ2_bzRead ( &bzerr, bzf, obuf, 5000 );
-+ BZ2_bzRead ( &bzerr, bzf, obuf, 5000 );
- if (bzerr == BZ_DATA_ERROR_MAGIC) goto errhandler;
- }
- if (bzerr != BZ_STREAM_END) goto errhandler;
---
-2.11.0
-