]> https://gitweb.dealii.org/ - dealii.git/commitdiff
calm down warning, then error out
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 3 May 2002 15:54:18 +0000 (15:54 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 3 May 2002 15:54:18 +0000 (15:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@5802 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/thread_management.cc

index f008da0ff88660cac87d40519e1bc733a43b218f..fc6d03486a4e3b36deba753747e27827626e831f 100644 (file)
@@ -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"

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.