mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
Remove unused function ARDOUR::find_config_file
git-svn-id: svn://localhost/ardour2/trunk@2061 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
be26fa02ce
commit
327cfc9cb5
2 changed files with 0 additions and 13 deletions
|
|
@ -54,7 +54,6 @@ namespace ARDOUR {
|
|||
std::string get_user_ardour_path ();
|
||||
std::string get_system_data_path ();
|
||||
|
||||
std::string find_config_file (std::string name);
|
||||
std::string find_data_file (std::string name, std::string subdir = "" );
|
||||
|
||||
const layer_t max_layer = UCHAR_MAX;
|
||||
|
|
|
|||
|
|
@ -460,18 +460,6 @@ find_file (string name, string dir, string subdir = "")
|
|||
return "";
|
||||
}
|
||||
|
||||
string
|
||||
ARDOUR::find_config_file (string name)
|
||||
{
|
||||
char* envvar;
|
||||
|
||||
if ((envvar = getenv("ARDOUR_CONFIG_PATH")) == 0) {
|
||||
envvar = CONFIG_DIR;
|
||||
}
|
||||
|
||||
return find_file (name, envvar);
|
||||
}
|
||||
|
||||
string
|
||||
ARDOUR::find_data_file (string name, string subdir)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue