diff options
Diffstat (limited to 'core/trip.c')
-rw-r--r-- | core/trip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/trip.c b/core/trip.c index c4534fe27..58e224f5b 100644 --- a/core/trip.c +++ b/core/trip.c @@ -149,7 +149,7 @@ dive_trip_t *create_trip_from_dive(struct dive *dive) dive_trip_t *create_and_hookup_trip_from_dive(struct dive *dive, struct trip_table *trip_table_arg) { - dive_trip_t *dive_trip = alloc_trip(); + dive_trip_t *dive_trip; dive_trip = create_trip_from_dive(dive); |