From 797ba5f7c896dcb460f5e36a8021504461b62b25 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 24 Jul 2011 18:42:46 +0200 Subject: [PATCH] remove unnecessary close, because fclose already closes the file descriptor --- src/cfgparse.y | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cfgparse.y b/src/cfgparse.y index f9d4ef35..dac63b95 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -369,7 +369,6 @@ void parse_file(const char *f) { } } fclose(fstr); - close(fd); /* For every custom variable, see how often it occurs in the file and * how much extra bytes it requires when replaced. */ -- 2.39.5