]> git.sur5r.net Git - i3/i3/commitdiff
remove unnecessary close, because fclose already closes the file descriptor
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 24 Jul 2011 16:42:46 +0000 (18:42 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 24 Jul 2011 16:42:46 +0000 (18:42 +0200)
src/cfgparse.y

index f9d4ef35574933b9eed6f63614974d2f292d4c3e..dac63b95d385e4ca5dc5c192f12a051718cdd65f 100644 (file)
@@ -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. */