]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Well, give a return value after abort(), nevermind. cxx complains otherwise.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Apr 2002 15:58:04 +0000 (15:58 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Apr 2002 15:58:04 +0000 (15:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@5780 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/thread_management.cc

index 0af7dfe8bc69af02823b545670278173d64ae935..f008da0ff88660cac87d40519e1bc733a43b218f 100644 (file)
@@ -89,6 +89,7 @@ namespace Threads
     return pthread_barrier_wait (&barrier);
 #else
     std::abort ();
+    return 1;
 #endif
   };
   

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.