removed legacy coed

This commit is contained in:
Benjamyn Love 2023-12-04 22:29:07 +11:00
parent f4b2cf2775
commit a7baffd13e

View File

@ -95,27 +95,6 @@ struct Game parse_game_data(char *line, struct Game game)
token = strtok_r(NULL, delim, &save_ptr);
}
// while (token != NULL)
// {
// printf("%s\n", token);
// char *inner_orig_line = malloc(255);
// memcpy(inner_orig_line, token, 255);
// token2 = strtok(orig_line, delim2);
// while (token2 != NULL)
// {
// printf("%s\n", token2);
// token3 = strtok(token2, delim3);
// int count = str_to_int(token3);
// char *colour = strtok(NULL, delim3);
// //
// printf("We have %i %s cubes\n", count, colour);
// token2 = strtok(NULL, delim2);
// }
// token = strtok(NULL, delim);
// }
// token2 = strtok(token, delim2);
// printf("Second token is: %s\n", token2);
return game;
}