location may be null

This commit is contained in:
bjoernf 2023-12-30 05:17:58 +01:00
parent bf6d09e99a
commit f9a617a882

View File

@ -25,7 +25,6 @@ void parse_event(char event_string[], struct event **head) {
assert(end_date != NULL); assert(end_date != NULL);
assert(sequence != NULL); assert(sequence != NULL);
assert(summary != NULL); assert(summary != NULL);
assert(location != NULL);
assert(transp != NULL); assert(transp != NULL);
strncpy(start_date_str, start_date, end_date - start_date); strncpy(start_date_str, start_date, end_date - start_date);