From: Michael Stapelberg Date: Sun, 24 Jul 2011 16:42:46 +0000 (+0200) Subject: remove unnecessary close, because fclose already closes the file descriptor X-Git-Tag: 4.0~14^2~61 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=797ba5f7c896dcb460f5e36a8021504461b62b25;p=i3%2Fi3 remove unnecessary close, because fclose already closes the file descriptor --- 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. */