summaryrefslogtreecommitdiffstats
path: root/core/planner.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-05 21:41:46 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-08-08 16:26:31 -0700
commit852239e6de541bfeb28b37ec1677a4d1637a7052 (patch)
tree7a1722d15d7485ecb6eeab4b510558a21efb6470 /core/planner.c
parent3d4ef9271795c328b18d9d11671ad9953077ec98 (diff)
downloadsubsurface-852239e6de541bfeb28b37ec1677a4d1637a7052.tar.gz
Cleanup: remove unused function printdecotable
It is unclear where this function has ever been used. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/planner.c')
-rw-r--r--core/planner.c11
1 files changed, 0 insertions, 11 deletions
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;