]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Suppress warning about unused variable in non-MT mode.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 3 May 2000 16:26:06 +0000 (16:26 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 3 May 2000 16:26:06 +0000 (16:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@2791 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/swappable_vector.templates.h

index 6f825bb2f0dd8c87d85878b0d491a1c0b5baf585..5fa66681dcc1f67094de2bc5e4cdd2d27e7c73e3 100644 (file)
@@ -214,6 +214,8 @@ void SwappableVector<number>::reload_vector (const bool set_flag)
   if (set_flag)
     data_is_preloaded = true;
   lock.release ();
+#else
+  (void)set_flag;
 #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.