summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-03-25 10:36:10 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-03-25 10:36:10 -0600
commit3d6eaf8e69e460f8346579b5aa6424fab71c43c7 (patch)
tree53f243ec84799b7d64306c03b193ab6fc4a9bf91 /libs/pbd
parent447a045828e743e260e9ffe84c6744d7093077a0 (diff)
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
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/pbd/pbd.cc b/libs/pbd/pbd.cc
index 89147324d8..15b8e1ab1c 100644
--- a/libs/pbd/pbd.cc
+++ b/libs/pbd/pbd.cc
@@ -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;
}