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
|
@ -52,20 +52,6 @@ namespace {
|
||||||
|
|
||||||
static bool libpbd_initialized = false;
|
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
|
#ifdef PLATFORM_WINDOWS
|
||||||
static
|
static
|
||||||
void
|
void
|
||||||
|
@ -129,8 +115,6 @@ PBD::init ()
|
||||||
|
|
||||||
setup_libpbd_enums ();
|
setup_libpbd_enums ();
|
||||||
|
|
||||||
set_debug_options_from_env ();
|
|
||||||
|
|
||||||
libpbd_initialized = true;
|
libpbd_initialized = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user