[Libreoffice-commits] core.git: sal/osl
Noel Grandin
noel at peralex.com
Fri Oct 3 01:47:48 PDT 2014
sal/osl/unx/signal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit bbe9a7b8b390d0e0e668ebb26af8c35cfd5805af
Author: Noel Grandin <noel at peralex.com>
Date: Fri Oct 3 10:46:40 2014 +0200
fix clang 3.5 build
Change-Id: I86fe850b4b7bc8fc4c44717ca813772114ca70ff
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index ba4a325..18461b0 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -893,14 +893,14 @@ static void DUMPCURRENTALLOCS(void)
{
VALGRIND_PRINTF( "=== start memcheck dump of active allocations ===\n" );
-#ifdef __GNUC__
+#if __GNUC__ && !__clang__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
VALGRIND_DO_LEAK_CHECK;
-#ifdef __GNUC__
+#if __GNUC__ && !__clang__
# pragma GCC diagnostic pop
#endif
More information about the Libreoffice-commits
mailing list