[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - include/tools

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 16 08:34:49 UTC 2019


 include/tools/link.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit aabc93537712478db00fa96859b0227397922464
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Tue Jul 16 08:24:35 2019 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Jul 16 10:34:16 2019 +0200

    fix warning: "TRACE_LINKS" is not defined [-Wundef] in non-debug build
    
    Change-Id: I236a9cb312c02ed1f08a77a37e334afce10fa0ce
    Reviewed-on: https://gerrit.libreoffice.org/75672
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/include/tools/link.hxx b/include/tools/link.hxx
index 63c3a08d6776..3cac6dd2f6d4 100644
--- a/include/tools/link.hxx
+++ b/include/tools/link.hxx
@@ -34,6 +34,8 @@
 #   ifdef DBG_UTIL
 #       define TRACE_LINKS 1
 #       include <cstdio>
+#   else
+#       define TRACE_LINKS 0
 #   endif
 #endif
 


More information about the Libreoffice-commits mailing list