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

New commits:
commit aabc93537712478db00fa96859b0227397922464
Author:     Andras Timar <andras.ti...@collabora.com>
AuthorDate: Tue Jul 16 08:24:35 2019 +0200
Commit:     Andras Timar <andras.ti...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@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
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to