summaryrefslogtreecommitdiffstats
path: root/color.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-10-21 16:02:30 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-10-21 16:08:14 -0400
commit4a08c0300cf6b0ee3bb5f755007641635ba21f9d (patch)
tree4fcce4cf80bc6575eb053c6691398d04be1eb917 /color.c
parent4e38f139f92b8b3729f82c37f0904c2b77d3eb58 (diff)
downloadbfs-4a08c0300cf6b0ee3bb5f755007641635ba21f9d.tar.xz
parse: Keep track of what files are already open
Fixes #22
Diffstat (limited to 'color.c')
-rw-r--r--color.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/color.c b/color.c
index 1025c9e..8df6a1f 100644
--- a/color.c
+++ b/color.c
@@ -288,8 +288,6 @@ int cfclose(CFILE *cfile) {
if (cfile) {
if (cfile->close) {
ret = fclose(cfile->file);
- } else if (cfile->file) {
- ret = fflush(cfile->file);
}
free(cfile);
}