This p_path refers to the method:
static char *folder_path_from_intial_path(const char *p_path).

I guess you thought it was from the method:
static void resolve_alias(NSString *p_path, NSString *&r_path_resolved), right? :)