From: wolf Date: Fri, 3 May 2002 15:54:18 +0000 (+0000) Subject: calm down warning, then error out X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=941511f5916d735e180f6f533892d7a83663d144;p=dealii-svn.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"