Kaydet (Commit) bbe9a7b8 authored tarafından Noel Grandin's avatar Noel Grandin

fix clang 3.5 build

Change-Id: I86fe850b4b7bc8fc4c44717ca813772114ca70ff
üst d6c842e0
...@@ -893,14 +893,14 @@ static void DUMPCURRENTALLOCS(void) ...@@ -893,14 +893,14 @@ static void DUMPCURRENTALLOCS(void)
{ {
VALGRIND_PRINTF( "=== start memcheck dump of active allocations ===\n" ); VALGRIND_PRINTF( "=== start memcheck dump of active allocations ===\n" );
#ifdef __GNUC__ #if __GNUC__ && !__clang__
# pragma GCC diagnostic push # pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-but-set-variable" # pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif #endif
VALGRIND_DO_LEAK_CHECK; VALGRIND_DO_LEAK_CHECK;
#ifdef __GNUC__ #if __GNUC__ && !__clang__
# pragma GCC diagnostic pop # pragma GCC diagnostic pop
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment