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
@ -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…
x
Reference in New Issue
Block a user