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:
Paul Davis 2020-03-25 10:36:10 -06:00
parent 447a045828
commit 3d6eaf8e69

View File

@ -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;
}