Fix warning with CLANG7

This commit is contained in:
Patrick Pelissier committed 2019-01-24 07:44:36 +01:00
1 parent 4e8f5f7b51
commit 746bdf144b
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ static void test1bis(void)
assert (atomic_load(&resetFunc_called) == true || workeri_get_cpu_count() == 1);
}
#if defined(__GNUC__) && (!defined(__clang__) || WORKER_USE_CLANG_BLOCK || WORKER_USE_CPP_FUNCTION)
#if defined(__GNUC__) && (!defined(__clang__) || (defined(WORKER_USE_CLANG_BLOCK) && WORKER_USE_CLANG_BLOCK) || (defined(WORKER_USE_CPP_FUNCTION) && WORKER_USE_CPP_FUNCTION))
/* The macro version will generate warnings about shadow variables.
There is no way to avoid this. */