]> git.refcnt.org Git - colorize.git/commitdiff
read_print_stream(): add comment
authorSteven Schubiger <stsc@refcnt.org>
Wed, 28 Mar 2018 13:46:17 +0000 (15:46 +0200)
committerSteven Schubiger <stsc@refcnt.org>
Wed, 28 Mar 2018 13:46:17 +0000 (15:46 +0200)
colorize.c

index 2f164fa2ba64d6c73a06b115eaff4f9976e8c65f..63237a5240d4cf7a4e44942b9503a7db9357d5c9 100644 (file)
@@ -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';