From 5ba7c68433f2ca62c840b038603ee404dbc1ccc9 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 27 Apr 2020 15:52:49 +0200 Subject: cleanup: remove unused function get_divepoint_gas_string() The last user was removed way back in commit 9fbd11744f1bfffbc6973e0f9483ae1630dd8722. Signed-off-by: Berthold Stoeger --- core/qthelper.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core/qthelper.cpp') diff --git a/core/qthelper.cpp b/core/qthelper.cpp index a6fb800be..4fa92c4e9 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -1192,12 +1192,6 @@ QString get_gas_string(struct gasmix gas) return result; } -QString get_divepoint_gas_string(struct dive *d, const divedatapoint &p) -{ - int idx = p.cylinderid; - return get_gas_string(get_cylinder(d, idx)->gasmix); -} - QString get_taglist_string(struct tag_entry *tag_list) { char *buffer = taglist_get_tagstring(tag_list); -- cgit v1.2.3-70-g09d2