aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2013-08-22 15:25:53 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2013-08-22 15:25:53 +0200
commite71ec35f4b1481068e46943344fb50c2e43f78c9 (patch)
tree2bedfb75145e52e2941dbb7d9ab80d84c16a412d
parenta3ca8405b18559c63924b2f7142332e423f674d9 (diff)
downloadcolorize-e71ec35f4b1481068e46943344fb50c2e43f78c9.tar.gz
colorize-e71ec35f4b1481068e46943344fb50c2e43f78c9.tar.bz2
Add assertion in process_file_option
-rw-r--r--colorize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/colorize.c b/colorize.c
index cd01f4a..f563f70 100644
--- a/colorize.c
+++ b/colorize.c
@@ -598,6 +598,7 @@ process_file_option (const char *file_string, const char **file, FILE **stream)
}
assert (*stream);
+ assert (*file);
}
#define MERGE_PRINT_LINE(part_line, line, flags, check_eof) do { \