From 1106198c79a0417fe59df68293c59ba7688533c0 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Fri, 12 Jul 2024 07:38:50 -0700 Subject: [PATCH] Remove unused function from mapillary/opensfm/opensfm/src/third_party/akaze/lib/utils.cpp Summary: `-Wunused-function` has identified an unused function. This diff removes it. In many cases these functions have existed for years in an unused state. Reviewed By: dmm-fb Differential Revision: D59644696 fbshipit-source-id: 1e7f68d125820c9a969db26df91e0fe269fbddd5 --- opensfm/src/third_party/akaze/lib/utils.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/opensfm/src/third_party/akaze/lib/utils.cpp b/opensfm/src/third_party/akaze/lib/utils.cpp index ddd2a2f0f..d77168908 100644 --- a/opensfm/src/third_party/akaze/lib/utils.cpp +++ b/opensfm/src/third_party/akaze/lib/utils.cpp @@ -392,12 +392,6 @@ static inline std::ostream& cout_help() { return cout; } -/* ************************************************************************* */ -static inline std::string toUpper(std::string s) { - std::transform(s.begin(), s.end(), s.begin(), ::toupper); - return s; -} - /* ************************************************************************* */ void show_input_options_help(int example) {