aboutsummaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-03-25 17:07:22 +0100
committerMattias Andrée <maandree@kth.se>2022-03-25 17:07:22 +0100
commit6090953e6fdc0822e6db7b5ed90223a898558e13 (patch)
treee90f4ca7dd93e65aeb22833c6350cbc946a57afa /c
parentMerge branch 'patch' (diff)
downloadsha3sum-6090953e6fdc0822e6db7b5ed90223a898558e13.tar.gz
sha3sum-6090953e6fdc0822e6db7b5ed90223a898558e13.tar.bz2
sha3sum-6090953e6fdc0822e6db7b5ed90223a898558e13.tar.xz
Remove unnecessary call to close
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--common.c1
1 files changed, 0 insertions, 1 deletions
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;