From ff6c1a34ad362347e2a3903f3882837d8e455b73 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 13 Oct 2020 20:15:41 +0200 Subject: cleanup: remove unused function is_default_dive_computer() The last actual user was apparently removed back in 2013(!): 34db6dc2bea6173c070c9820a2e57a511b9ca0b1 Signed-off-by: Berthold Stoeger --- core/device.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/device.cpp') 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; -- cgit v1.2.3-70-g09d2