From 941511f5916d735e180f6f533892d7a83663d144 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 3 May 2002 15:54:18 +0000 Subject: [PATCH] calm down warning, then error out git-svn-id: https://svn.dealii.org/trunk@5802 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/thread_management.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deal.II/base/source/thread_management.cc b/deal.II/base/source/thread_management.cc index f008da0ff8..fc6d03486a 100644 --- a/deal.II/base/source/thread_management.cc +++ b/deal.II/base/source/thread_management.cc @@ -61,6 +61,8 @@ namespace Threads #ifndef DEAL_II_USE_MT_POSIX_NO_BARRIERS pthread_barrier_init (&barrier, 0, count); #else + // calm down warning, then error out + (void *)(&count); AssertThrow (false, ExcMessage ("Your local POSIX installation does not support\n" "POSIX barriers. You will not be able to use\n" -- 2.39.5