mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
3d4ef92717
commit
852239e6de
2 changed files with 0 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue