diff options
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c index ba4a32579d9b..18461b0b8fba 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 |