summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefDisplay.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-09-06 17:41:25 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-08 17:20:09 -0700
commit048cdcaa318f111e12d78c60927a0e2fc30eb1d6 (patch)
treebd790310bf18472427874af3ef484bd495cc4859 /tests/testqPrefDisplay.cpp
parent0424ee8996f231dbba1ffb6e6db087855dbb26a2 (diff)
downloadsubsurface-048cdcaa318f111e12d78c60927a0e2fc30eb1d6.tar.gz
cleanup: remove count_divecomputers() function
There is a number_of_computers() function which does the same thing with two exceptions: 1) checks for null-dive 2) returns an unsigned int Replace calls to count_divecomputers() by calls to number_of_computers(). In one case, the return type makes a different - add a cast to int there. Ultimately, we should probably change the dc_number to signed int throughout the code. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'tests/testqPrefDisplay.cpp')
0 files changed, 0 insertions, 0 deletions