[icinga-checkins] icinga.org: icinga2/master: Remove support for _DEBUG env var.

git at icinga.org git at icinga.org
Mon Feb 11 13:48:24 CET 2013


Module: icinga2
Branch: master
Commit: f6f771a3f6455f52f849d156a40e7365fcd63780
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=f6f771a3f6455f52f849d156a40e7365fcd63780

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Mon Feb 11 13:46:02 2013 +0100

Remove support for _DEBUG env var.

Fixes #3688

---

 lib/base/application.cpp |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/lib/base/application.cpp b/lib/base/application.cpp
index aff46e3..5af93ab 100644
--- a/lib/base/application.cpp
+++ b/lib/base/application.cpp
@@ -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;





More information about the icinga-checkins mailing list