]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix warning with clang.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 20 Nov 2012 15:03:39 +0000 (15:03 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 20 Nov 2012 15:03:39 +0000 (15:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@27592 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_parallel_block_vector.h
deal.II/include/deal.II/lac/trilinos_vector_base.h

index c95fb17efdcdc9bd1e8323e40faab88402cca112..6090f6d4d36a47ae4d4d128e32d3e4b313ca9956 100644 (file)
@@ -462,7 +462,8 @@ namespace TrilinosWrappers
     void
     BlockVector::compress (const Epetra_CombineMode last_action)
     {
-      ::dealii::VectorOperation::values last_action_;
+      ::dealii::VectorOperation::values last_action_ =
+        ::dealii::VectorOperation::unknown;
       if (last_action == Add)
        last_action_ = ::dealii::VectorOperation::add;
       else if (last_action == Insert)
index f3a7bee54a113f25139187fa6333e727ca445e4c..9fe33b88067b3185bd775359b53ec7aaaff15466 100644 (file)
@@ -1224,7 +1224,8 @@ namespace TrilinosWrappers
   void
   VectorBase::compress (const Epetra_CombineMode last_action)
   {
-    ::dealii::VectorOperation::values last_action_;
+    ::dealii::VectorOperation::values last_action_ =
+      ::dealii::VectorOperation::unknown;
     if (last_action == Add)
       last_action_ = ::dealii::VectorOperation::add;
     else if (last_action == Insert)

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.