mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
remove old, undocumented mechanism to set PBD::DEBUG flags from environment variable
An app-level mechanism now exists in main(), via ARDOUR_DEBUG_FLAGS, and will do the same thing
This commit is contained in:
parent
447a045828
commit
3d6eaf8e69
1 changed files with 0 additions and 16 deletions
|
|
@ -52,20 +52,6 @@ namespace {
|
|||
|
||||
static bool libpbd_initialized = false;
|
||||
|
||||
static
|
||||
void
|
||||
set_debug_options_from_env ()
|
||||
{
|
||||
bool set;
|
||||
std::string options;
|
||||
|
||||
options = Glib::getenv ("PBD_DEBUG", set);
|
||||
if (set) {
|
||||
std::cerr << X_("PBD_DEBUG=") << options << std::endl;
|
||||
PBD::parse_debug_options (options.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
static
|
||||
void
|
||||
|
|
@ -129,8 +115,6 @@ PBD::init ()
|
|||
|
||||
setup_libpbd_enums ();
|
||||
|
||||
set_debug_options_from_env ();
|
||||
|
||||
libpbd_initialized = true;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue