diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-02-11 23:23:59 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2018-02-12 07:48:34 +0100 |
commit | 2b4115d712e4cf82f7adeb9d3e59fd7e1d376e53 (patch) | |
tree | 24d02d3de838459e087643a0d84bc342bfa96dc1 /core/divelist.c | |
parent | 08c4a287a4b607306e67ed54d16def7a07c6988b (diff) | |
download | subsurface-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/divelist.c')
-rw-r--r-- | core/divelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c index 7c6259a6b..1f76246c9 100644 --- a/core/divelist.c +++ b/core/divelist.c @@ -572,7 +572,7 @@ int init_decompression(struct deco_state *ds, struct dive *dive) deco_init = true; #if DECO_CALC_DEBUG & 2 printf("Tissues after init:\n"); - dump_tissues(); + dump_tissues(ds); #endif } else { |