dump_tissues: fix missing 'struct deco_state' argument

With DECO_CALC_DEBUG != 0, divelist.c and profile.c have calls
to dump_tissues() without passing a 'struct deco_state' argument.

Fixes #1105

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2018-02-11 23:23:59 +02:00 committed by Robert C. Helling
parent 08c4a287a4
commit 2b4115d712
2 changed files with 2 additions and 2 deletions

View file

@ -1147,7 +1147,7 @@ void calculate_deco_information(struct deco_state *ds, struct deco_state *planne
}
free(cache_data_initial);
#if DECO_CALC_DEBUG & 1
dump_tissues();
dump_tissues(ds);
#endif
unlock_planner();
}