diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-11-27 12:33:17 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-27 22:40:16 +0100 |
commit | 4e36b2509ce1dc98724282a3e485a20ebacb17e3 (patch) | |
tree | 345a3f325da52fa948d3a059ae14f49d9ee9fc6c | |
parent | 46004c39e266fe76f9945e52000dd051de3f4099 (diff) | |
download | subsurface-4e36b2509ce1dc98724282a3e485a20ebacb17e3.tar.gz |
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>
-rw-r--r-- | core/deco.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/deco.c b/core/deco.c index c104205d8..44103cb47 100644 --- a/core/deco.c +++ b/core/deco.c @@ -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; |