From 852239e6de541bfeb28b37ec1677a4d1637a7052 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 5 Aug 2019 21:41:46 +0200 Subject: Cleanup: remove unused function printdecotable It is unclear where this function has ever been used. Signed-off-by: Berthold Stoeger --- core/planner.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'core/planner.c') diff --git a/core/planner.c b/core/planner.c index 3fcaf9826..0743a6a52 100644 --- a/core/planner.c +++ b/core/planner.c @@ -624,17 +624,6 @@ static int wait_until(struct deco_state *ds, struct dive *dive, int clock, int m return wait_until(ds, dive, clock, min, leap / 2, stepsize, depth, target_depth, avg_depth, bottom_time, gasmix, po2, surface_pressure, divemode); } -// Work out the stops. Return value is if there were any mandatory stops. - - -void printdecotable(struct decostop *table) -{ - while (table->depth) { - printf("depth=%d time=%d\n", table->depth, table->time); - ++table; - } -} - static void average_max_depth(struct diveplan *dive, int *avg_depth, int *max_depth) { int integral = 0; -- cgit v1.2.3-70-g09d2