diff --git a/test/fgetln.c b/test/fgetln.c index 2eafa84..e137fe7 100644 --- a/test/fgetln.c +++ b/test/fgetln.c @@ -96,6 +96,7 @@ test_fgetln_multi(void) char *str; str = strdup("A\n"); + assert(str); str[0] += i; files[i].line_alloc = str;