summaryrefslogtreecommitdiffstats
path: root/core/profile.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-02-11 23:23:59 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2018-02-12 07:48:34 +0100
commit2b4115d712e4cf82f7adeb9d3e59fd7e1d376e53 (patch)
tree24d02d3de838459e087643a0d84bc342bfa96dc1 /core/profile.c
parent08c4a287a4b607306e67ed54d16def7a07c6988b (diff)
downloadsubsurface-2b4115d712e4cf82f7adeb9d3e59fd7e1d376e53.tar.gz
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>
Diffstat (limited to 'core/profile.c')
-rw-r--r--core/profile.c2
1 files changed, 1 insertions, 1 deletions
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();
}