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:
Stefan Fuchs 2017-11-27 12:33:17 +01:00 committed by Lubomir I. Ivanov
parent 46004c39e2
commit 4e36b2509c

View file

@ -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;