]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove warnings 1678/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 27 Sep 2015 11:27:38 +0000 (07:27 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sun, 27 Sep 2015 11:51:19 +0000 (07:51 -0400)
include/deal.II/grid/tria_accessor.templates.h
include/deal.II/lac/read_write_vector.h
source/base/data_out_base.cc

index c316abc82b974ee69d89a9abbb675451df6ef5c5..4ce7f713b16b3e13cfe50d7ce172139253dd8f85 100644 (file)
@@ -2141,7 +2141,7 @@ template <int dim, int spacedim>
 inline
 TriaAccessor<0, dim, spacedim>::
 TriaAccessor (const Triangulation<dim,spacedim> *tria,
-              const int level,
+              const int /*level*/,
               const int index,
               const AccessorData *)
   :
index d0e389aacaaaa1ea88cb3d8c4dfa63f009269a06..fb0261603dbd51befb16c419035db1b420495985 100644 (file)
@@ -692,6 +692,8 @@ namespace LinearAlgebra
   ReadWriteVector<Number>::operator= (const Number s)
   {
     Assert(s==static_cast<Number>(0), ExcMessage("Only 0 can be assigned to a vector."));
+    (void)s;
+
     std::fill(begin(),end(),Number());
 
     return *this;
index 246d45f387fd9939ec58a42b88ab1dd314147caa..c7806af48629a6d913e3bb30cad9cce669e02746 100644 (file)
@@ -5426,7 +5426,7 @@ namespace DataOutBase
     Point<3> camera_direction_temp;
     Point<3> camera_horizontal_temp;
 
-    const float angle_factor = 3.14159265 / 180.;
+    const float angle_factor = 3.14159265f / 180.f;
 
     // (I) rotate the camera to the chosen polar angle
     camera_position_temp[1] = cos(angle_factor * flags.polar_angle) * camera_position[1] - sin(angle_factor * flags.polar_angle) * camera_position[2];

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.