From 6090953e6fdc0822e6db7b5ed90223a898558e13 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Mar 2022 17:07:22 +0100 Subject: Remove unnecessary call to close MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/common.c b/common.c index 5f2f83e..86ac6aa 100644 --- a/common.c +++ b/common.c @@ -399,7 +399,6 @@ check_checksums(const char *restrict filename, const struct libkeccak_spec *rest user_error("file is malformated"); free(buf); - close(fd); return ret; (void) style; -- cgit v1.2.3-70-g09d2