diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-13 20:15:41 +0200 |
---|---|---|
committer | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-13 20:15:41 +0200 |
commit | ff6c1a34ad362347e2a3903f3882837d8e455b73 (patch) | |
tree | d87372d58e59b29b8c1432ecd77c087165ebf8e8 /core/device.cpp | |
parent | 39ab754406c5e63e1be6eacd90b71eaf5cc164ef (diff) | |
download | subsurface-ff6c1a34ad362347e2a3903f3882837d8e455b73.tar.gz |
cleanup: remove unused function is_default_dive_computer()
The last actual user was apparently removed back in 2013(!):
34db6dc2bea6173c070c9820a2e57a511b9ca0b1
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/device.cpp')
-rw-r--r-- | core/device.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/device.cpp b/core/device.cpp index b4c78abe5..5b59ce74d 100644 --- a/core/device.cpp +++ b/core/device.cpp @@ -317,11 +317,6 @@ extern "C" void call_for_each_dc (void *f, void (*callback)(void *, const char * } } -extern "C" int is_default_dive_computer(const char *vendor, const char *product) -{ - return qPrefDiveComputer::vendor() == vendor && qPrefDiveComputer::product() == product; -} - extern "C" int is_default_dive_computer_device(const char *name) { return qPrefDiveComputer::device() == name; |