aboutsummaryrefslogtreecommitdiffstats
path: root/core/planner.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-03-18 20:57:05 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-18 19:40:32 -0700
commit3af4164d0cfc57b6ca202381899974186527a5c8 (patch)
treef678c5c9e6ec26cec1c0894d482d135677fd4016 /core/planner.c
parent34bddaf3a8035be45a43e03e1b907c171c2802c7 (diff)
downloadsubsurface-3af4164d0cfc57b6ca202381899974186527a5c8.tar.gz
Core: change FIXME language
Addresses LGTM.com issue. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/planner.c')
-rw-r--r--core/planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/planner.c b/core/planner.c
index 3f5de00de..5bcbdab7e 100644
--- a/core/planner.c
+++ b/core/planner.c
@@ -715,7 +715,7 @@ bool plan(struct deco_state *ds, struct diveplan *diveplan, struct dive *dive, i
bottom_time = clock = previous_point_time = dive->dc.sample[dive->dc.samples - 1].time.seconds;
current_cylinder = get_cylinderid_at_time(dive, &dive->dc, sample->time);
- // FIXME: This needs a function to find the divemode at the end of the dive like in
+ // Find the divemode at the end of the dive
const struct event *ev = NULL;
divemode = UNDEF_COMP_TYPE;
divemode = get_current_divemode(&dive->dc, bottom_time, &ev, &divemode);