diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/planner.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/planner.c b/core/planner.c index cc6874c3f..3821890e3 100644 --- a/core/planner.c +++ b/core/planner.c @@ -303,8 +303,6 @@ static void create_dive_from_plan(struct diveplan *diveplan, struct dive *dive, lastcylid = 0; while (dp) { int po2 = dp->setpoint; - if (dp->setpoint) - type = CCR; int time = dp->time; depth_t depth = dp->depth; |