From: Wolfgang Bangerth Date: Fri, 3 May 2002 15:54:18 +0000 (+0000) Subject: calm down warning, then error out X-Git-Tag: v8.0.0~18059 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b731af1cd553cb088748f37bf795a2958a1dc2a0;p=dealii.git calm down warning, then error out git-svn-id: https://svn.dealii.org/trunk@5802 0785d39b-7218-0410-832d-ea1e28bc413d --- 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"