commit 42d9a0d706abd6983f5590253f503c62617f0a6c
parent 5d277bc8765cc87a1d0435afe322c3e5e7b7b2c9
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 2 May 2022 21:49:35 +0200
encoding::pem: remove unused struct field
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/encoding/pem/pem.ha b/encoding/pem/pem.ha
@@ -22,7 +22,6 @@ export type decoder = struct {
export type b64stream = struct {
stream: io::stream,
in: *bufio::bufstream,
- readend: bool,
};
export type pemdecoder = struct {
@@ -129,7 +128,6 @@ fn pem_read(st: *io::stream, buf: []u8) (size | io::EOF | io::error) = {
st.b64_in = b64stream {
stream = &b64stream_r_vt,
in = st.in,
- readend = false,
};
st.b64 = base64::newdecoder(&base64::std_encoding, &st.b64_in);
st.b64_ready = true;