mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add preprocessor directives around debug functions
These adds some ifdef's around some debug functions to disable them when not using them. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a84826090a
commit
c49f7133c3
2 changed files with 14 additions and 6 deletions
2
deco.c
2
deco.c
|
@ -187,6 +187,7 @@ double add_segment(double pressure, const struct gasmix *gasmix, int period_in_s
|
|||
return tissue_tolerance_calc(dive);
|
||||
}
|
||||
|
||||
#ifdef DECO_CALC_DEBUG
|
||||
void dump_tissues()
|
||||
{
|
||||
int ci;
|
||||
|
@ -198,6 +199,7 @@ void dump_tissues()
|
|||
printf(" %6.3e", tissue_he_sat[ci]);
|
||||
printf("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
void clear_deco(double surface_pressure)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue