diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index ca9e8c14ec1d..260dd4cf9c42 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -336,8 +336,6 @@ makeenv(void) } } fprintf(ofp, "\"\\0\"\n};\n"); - if (ifp) - fclose(ifp); fclose(ofp); moveifchanged(path("env.c.new"), path("env.c")); }