Initialization
This commit is contained in:
parent
ae1b4851e9
commit
b07dd7c0a0
@ -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, "Error: invalid input format\n");
|
||||
return 1;
|
||||
break;
|
||||
}
|
||||
|
||||
// check if this student already exists
|
||||
|
Loading…
Reference in New Issue
Block a user