Please tell me how to fix the warning. Please kindly check the picture attached here and help me with the given warning.
here's a new warning
struct people structures
/* loading user information from the file*/
void load_file(struct people *head)
{
FILE *pFile;
char line[N];
char temp_name;
char temp_username;
char temp_birthPlace;
char new_people;
char temp_the_date_of_birth;
//open the FILE
if (pFile == fopen("test1.txt", "r"))
{
// reading the contents of the file line by line
while (fgets(line, N, pFile) != NULL)
{
struct people *new_people = (struct people *)malloc(sizeof(struct people));
//Temporarily saving variables read from file
sscanf(line, "%s,%s,%s,%s",&temp_name,&temp_username,&temp_the_date_of_birth,&temp_birthPlace);
strcmp(new_people->name, temp_name) == 0;
strcmp(new_people->username, temp_username) == 0;
strcmp(new_people->the_date_of_birth, temp_the_date_of_birth) == 0;
strcmp( new_people->birthPlace, temp_birthPlace) == 0;
// adding new people and then putting them as head at the beginning of the linked list
new_people = head;
head = new_people;
head->next = new_people;
}
fclose(pFile);
printf("file exists");
}
else
{
printf("file does not exist");
}
return;
}