From 0f678a08bcc3c4dcb463a4cdb689f448d9d98ad4 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 25 Apr 2024 19:46:05 +0200 Subject: [PATCH] Initialization --- cv10/program.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cv10/program.c b/cv10/program.c index d6ec6ee..0aebb24 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -25,9 +25,6 @@ int main() { i = 0; while (i < count && fgets(buffer, sizeof(buffer), stdin)) { - if (buffer[0] == '\n') { // End of input line - break; - } int len = strlen(buffer); if (len > 0 && buffer[len - 1] == '\n') { // Remove newline character if present buffer[len - 1] = '\0';