diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-05 15:20:01 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-05 16:52:58 -0700 |
commit | ff8392da54a01013c47bdd87ee57895536d639ba (patch) | |
tree | a58a3e407d39b248a2794f58affef6d0befd1965 /core/helpers.h | |
parent | 6d1effe8864894f7268289ae6ee71067b0c9e756 (diff) | |
download | subsurface-ff8392da54a01013c47bdd87ee57895536d639ba.tar.gz |
Remove unused and buggy get_cylinder_used_gas_string() function
It's good that this is unused, because it does the calculations wrong.
Due to the gas compressibility the gas use calculations should subtract
the gas_volume() values at the differing pressures, not the pressures
themselves.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/helpers.h')
-rw-r--r-- | core/helpers.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/helpers.h b/core/helpers.h index f88da015c..b9f7f50ca 100644 --- a/core/helpers.h +++ b/core/helpers.h @@ -16,7 +16,6 @@ QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true) QString get_depth_unit(); QString get_weight_string(weight_t weight, bool showunit = false); QString get_weight_unit(); -QString get_cylinder_used_gas_string(cylinder_t *cyl, bool showunit = false); QString get_temperature_string(temperature_t temp, bool showunit = false); QString get_temp_unit(); QString get_volume_string(volume_t volume, bool showunit = false); |