From fbd20929dd83421bc4ad478f8bdef0cb8594d643 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 21 Mar 2024 17:04:14 +0100 Subject: [PATCH] Initialization --- cv5/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cv5/program.c b/cv5/program.c index b1bad8f..b517c01 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -46,8 +46,7 @@ int main() { if (sscanf(line, "%d %[^\n]", &votes, name) != 2) { // error, input was not in expected format // print error message and exit - fprintf(stderr, "Nepodarilo␣nacitat␣nic\n"); - return 1; + break; } // check if this student already exists