mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
08c4a287a4
commit
2b4115d712
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue