mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Compile dump_tissues function only if needed based on define
Compile it only when DECO_CALC_DEBUG is defined. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
46004c39e2
commit
4e36b2509c
1 changed files with 2 additions and 0 deletions
|
@ -506,6 +506,7 @@ void add_segment(struct deco_state *ds, double pressure, const struct gasmix *ga
|
|||
return;
|
||||
}
|
||||
|
||||
#if DECO_CALC_DEBUG
|
||||
void dump_tissues(struct deco_state *ds)
|
||||
{
|
||||
int ci;
|
||||
|
@ -517,6 +518,7 @@ void dump_tissues(struct deco_state *ds)
|
|||
printf(" %6.3e", ds->tissue_he_sat[ci]);
|
||||
printf("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
void clear_vpmb_state(struct deco_state *ds) {
|
||||
int ci;
|
||||
|
|
Loading…
Add table
Reference in a new issue