aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/planner.c b/core/planner.c
index 3821890e3..eefa94143 100644
--- a/core/planner.c
+++ b/core/planner.c
@@ -410,7 +410,7 @@ void add_to_end_of_diveplan(struct diveplan *diveplan, struct divedatapoint *dp)
lastdp = &(*lastdp)->next;
}
*lastdp = dp;
- if (ldp && dp->time != 0)
+ if (ldp)
dp->time += lasttime;
}