aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2018-03-28 15:46:17 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2018-03-28 15:46:17 +0200
commit359c07a2780a0c59eeac74ffd9a5d089cda6e41b (patch)
tree84972a13c8927ea690f45bd0c5cb00aeac5626a4 /colorize.c
parentfcf4408d02a843b008c262c808cabbc7bf36ed0a (diff)
downloadcolorize-359c07a2780a0c59eeac74ffd9a5d089cda6e41b.tar.gz
colorize-359c07a2780a0c59eeac74ffd9a5d089cda6e41b.tar.bz2
read_print_stream(): add comment
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index 2f164fa..63237a5 100644
--- a/colorize.c
+++ b/colorize.c
@@ -905,7 +905,7 @@ read_print_stream (const char *attr, const struct color **colors, const char *fi
}
else if (*eol == '\n')
flags |= LF;
- else
+ else /* never reached */
vfprintf_fail (formats[FMT_FILE], file, "unrecognized line ending");
p = eol + SKIP_LINE_ENDINGS (flags);
*eol = '\0';