Why does it say ‘temp2’ may be used uninitialized in this function line 227?
char *temp2;
226     for (int i = 0; i < MAX_FRIENDS && user->friends[i] != NULL; i++) {
227         snprintf(temp2, strlen(user->friends[i]->name + 2), "%s\r\n", user->friends[i]->name);
}