From 3d6eaf8e69e460f8346579b5aa6424fab71c43c7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 25 Mar 2020 10:36:10 -0600 Subject: 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 --- libs/pbd/pbd.cc | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'libs/pbd') 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; } -- cgit v1.2.3