From e71ec35f4b1481068e46943344fb50c2e43f78c9 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Thu, 22 Aug 2013 15:25:53 +0200 Subject: Add assertion in process_file_option --- colorize.c | 1 + 1 file changed, 1 insertion(+) 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 { \ -- cgit v1.2.3