commit a2a325478e28546afd23b754a8856d904c855255
parent 8fa3ca4e9e82c2bc53983ba59a925948396d3966
Author: Bor Grošelj Simić <bgs@turminal.net>
Date: Tue, 19 Apr 2022 03:50:33 +0200
base64: don't call a function that has no effect
Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/encoding/base64/base64.ha b/encoding/base64/base64.ha
@@ -365,7 +365,6 @@ export fn decode(
buf: []u8,
) (size | io::EOF | io::error) = {
const enc = new_decoder(enc, in);
- defer io::close(&enc);
return io::readall(&enc, buf)?;
};