diff options
Diffstat (limited to 'core/load-git.c')
-rw-r--r-- | core/load-git.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/core/load-git.c b/core/load-git.c index 59434c64e..042df6c53 100644 --- a/core/load-git.c +++ b/core/load-git.c @@ -799,6 +799,14 @@ static void parse_dc_event(char *line, struct membuffer *str, void *_dc) } } +/* Not needed anymore - trip date calculated implicitly from first dive */ +static void parse_trip_date(char *line, struct membuffer *str, void *trip) +{ UNUSED(line); UNUSED(str); UNUSED(trip); } + +/* Not needed anymore - trip date calculated implicitly from first dive */ +static void parse_trip_time(char *line, struct membuffer *str, void *trip) +{ UNUSED(line); UNUSED(str); UNUSED(trip); } + static void parse_trip_location(char *line, struct membuffer *str, void *_trip) { UNUSED(line); dive_trip_t *trip = _trip; trip->location = get_utf8(str); } @@ -1001,7 +1009,7 @@ static void site_parser(char *line, struct membuffer *str, void *_ds) struct keyword_action trip_action[] = { #undef D #define D(x) { #x, parse_trip_ ## x } - D(location), D(notes), + D(date), D(location), D(notes), D(time), }; static void trip_parser(char *line, struct membuffer *str, void *_trip) |