summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index 8802aaea1..ce67414b5 100644
--- a/divelist.c
+++ b/divelist.c
@@ -655,7 +655,6 @@ void add_dive_to_trip(struct dive *dive, dive_trip_t *trip)
{
if (dive->divetrip == trip)
return;
- assert(trip->when);
remove_dive_from_trip(dive, false);
trip->nrdives++;
dive->divetrip = trip;