remove useless stuff

This commit is contained in:
juan 2022-04-02 14:31:05 +08:00
parent 1638743663
commit dc274569c4
No known key found for this signature in database
GPG key ID: 5C1E5093C74F1DC7

View file

@ -27,19 +27,6 @@ const char *genreMap[] = {"Action", "Adventure", "Animation", "Children",
//输入电影风格返回其映射的id
int getGenreID(char *style)
{
// int index = 0;
// const char *genreMap[] = {"Action", "Adventure", "Animation", "Children's",
// "Comedy", "Crime", "Documentary", "Drama",
// "Fantasy", "Film-Noir", "Horror", "IMAX", "Musical",
// "Mystery", "Romance", "Sci-Fi", "Thriller",
// "War", "Western"};
// while (strcmp(genreMap[index], style) != 0)
// {
// index++;
// }
int found = 0;
int i;
for (i = 0; i < NUM_GENRES - 1; i++) {
@ -341,4 +328,4 @@ Genres *appendGenres(Genres *head, int id)
ptr->next = new;
return head;
}
}