diff options
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r-- | libs/ardour/utils.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index f98b24a4f2..1138684546 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -105,25 +105,6 @@ legalize_for_path (ustring str) return legal; } -#if 0 -string -legalize_for_path (string str) -{ - string::size_type pos; - string legal_chars = "abcdefghijklmnopqrtsuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_+=: "; - string legal; - - legal = str; - pos = 0; - - while ((pos = legal.find_first_not_of (legal_chars, pos)) != string::npos) { - legal.replace (pos, 1, "_"); - pos += 1; - } - - return legal; -} -#endif string bump_name_once(std::string name) { |