]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warnings regarding extra';' and unused parameters 5361/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 30 Oct 2017 17:33:00 +0000 (18:33 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 30 Oct 2017 17:36:34 +0000 (18:36 +0100)
include/deal.II/base/patterns.h
source/dofs/dof_handler_policy.cc

index 46f8ac20ca47d9481cdb336fa0fa6d8629283d90..4e75010678b4543bb5084117712aabe2b2d88e02 100644 (file)
@@ -1469,28 +1469,28 @@ namespace Patterns
       constexpr int max_list_rank()
       {
         return RankInfo<T>::list_rank;
-      };
+      }
 
       template <class T1, class T2, class... Types>
       constexpr int max_list_rank()
       {
         return std_cxx14::max(RankInfo<T1>::list_rank,
                               max_list_rank<T2,Types...>());
-      };
+      }
 
       // Helper function for map_rank
       template <class T>
       constexpr int max_map_rank()
       {
         return RankInfo<T>::map_rank;
-      };
+      }
 
       template <class T1, class T2, class... Types>
       constexpr int max_map_rank()
       {
         return std_cxx14::max(RankInfo<T1>::map_rank,
                               max_map_rank<T2,Types...>());
-      };
+      }
 
       // Rank of vector types
       template <class T>
index 9cdca359e2001ab0263e1963b7b2b8c998e06e41..1db96a4fab36b25732c57ff06c7f908adf6af8a4 100644 (file)
@@ -4468,6 +4468,7 @@ namespace internal
           Implementation::renumber_mg_dofs (ghosted_new_numbers, relevant_dofs,
                                             *dof_handler, level, true);
 #else
+        (void) new_numbers;
         Assert(false, ExcNotImplemented());
 #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.