]> granicus.if.org Git - icinga2/commitdiff
Remove support for _DEBUG env var.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 11 Feb 2013 12:46:02 +0000 (13:46 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 11 Feb 2013 12:46:02 +0000 (13:46 +0100)
Fixes #3688

lib/base/application.cpp

index aff46e37817985a86e85bdb93e4ec9bb5922521a..5af93ab2fe5dccb4553248b71e9fa8c6583dd748 100644 (file)
@@ -48,9 +48,6 @@ Application::Application(const Dictionary::Ptr& serializedUpdate)
                BOOST_THROW_EXCEPTION(Win32Exception("WSAStartup failed", WSAGetLastError()));
 #endif /* _WIN32 */
 
-       char *debugging = getenv("_DEBUG");
-       m_Debugging = (debugging && strtol(debugging, NULL, 10) != 0);
-
 #ifdef _WIN32
        if (IsDebuggerPresent())
                m_Debugging = true;