mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if DECO_CALC_DEBUG
|
||||||
void dump_tissues(struct deco_state *ds)
|
void dump_tissues(struct deco_state *ds)
|
||||||
{
|
{
|
||||||
int ci;
|
int ci;
|
||||||
|
@ -517,6 +518,7 @@ void dump_tissues(struct deco_state *ds)
|
||||||
printf(" %6.3e", ds->tissue_he_sat[ci]);
|
printf(" %6.3e", ds->tissue_he_sat[ci]);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void clear_vpmb_state(struct deco_state *ds) {
|
void clear_vpmb_state(struct deco_state *ds) {
|
||||||
int ci;
|
int ci;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue