From 7d35379465058f2a4f944ad622b628bd1ed38ee2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 23 May 2018 17:18:34 +0200 Subject: Remove leftover "#undef DEBUG" ...which might have had a purpose in the past, but look unused today. (DEBUG is defined in solenv/gbuild/gbuild.mk iff dbglevel >= 2, and `make Library_xsec_xmlsec dbglevel=2` doesn't run into any problems for me with the undefs removed.) Change-Id: I7f941e8c2d454f4206fb17bc791247606ffe6309 Reviewed-on: https://gerrit.libreoffice.org/54718 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 7 ------- xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx | 8 -------- 2 files changed, 15 deletions(-) diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx index 2a9aaab057bb..c402e2833604 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx @@ -17,13 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -/* - * and turn off the additional virtual methods which are part of some interfaces when compiled - * with debug - */ -#undef DEBUG - #include #include #include diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx index 58fa45acf4b6..45b85cb97705 100644 --- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx @@ -17,14 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -/* - * and turn off the additional virtual methods which are part of some interfaces when compiled - * with debug - */ -#ifdef DEBUG -#undef DEBUG -#endif - #include #include #include -- cgit