diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-13 00:29:18 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-07-18 06:01:07 -0700 |
commit | 3bb60e8ffe9074a2ee80144c1b32b38af8f3a019 (patch) | |
tree | 48c63b138686527749bfb5f5b8ced5e5214980e9 /core/equipment.c | |
parent | a5e7f4253ac98ad18354973fda7049e9daaea8eb (diff) | |
download | subsurface-3bb60e8ffe9074a2ee80144c1b32b38af8f3a019.tar.gz |
Cleanup: remove unused weightsystem_none() function
This function was used to count the number of weightsystems
used in a dive. Since the weightsysems are now collected
in a dynamic table it became unused. Remove.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/equipment.c')
-rw-r--r-- | core/equipment.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/equipment.c b/core/equipment.c index 5bf13713c..9dbe6bcd2 100644 --- a/core/equipment.c +++ b/core/equipment.c @@ -182,11 +182,6 @@ int find_best_gasmix_match(struct gasmix mix, const cylinder_t array[]) return best; } -bool weightsystem_none(const weightsystem_t *ws) -{ - return !ws->weight.grams && !ws->description; -} - /* * We hardcode the most common standard cylinders, * we should pick up any other names from the dive |