From 2b4115d712e4cf82f7adeb9d3e59fd7e1d376e53 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sun, 11 Feb 2018 23:23:59 +0200 Subject: 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 --- core/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/profile.c') diff --git a/core/profile.c b/core/profile.c index e463c9c2b..78f3b2f57 100644 --- a/core/profile.c +++ b/core/profile.c @@ -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(); } -- cgit v1.2.3-70-g09d2