]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Unused parameters.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 22 Sep 2005 13:10:55 +0000 (13:10 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 22 Sep 2005 13:10:55 +0000 (13:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@11501 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_in.cc

index 3319d4d68fd3ddc2d038f04d7eba3bd1e125c3a4..3af2cc0a32b1729b2fce9bc793c4deac69ef394b 100644 (file)
@@ -741,7 +741,7 @@ void GridIn<dim>::read_msh (std::istream &in)
 #if deal_II_dimension == 1
 
 template <>
-void GridIn<1>::read_netcdf (const std::string &filename)
+void GridIn<1>::read_netcdf (const std::string &)
 {
   AssertThrow(false, ExcImpossibleInDim(1));
 }
@@ -756,6 +756,9 @@ template <>
 void GridIn<2>::read_netcdf (const std::string &filename)
 {
 #ifndef DEAL_II_HAVE_NETCDF
+                                  // do something with unused
+                                  // filename
+  filename.c_str();
   AssertThrow(false, ExcNeedsNetCDF());
 #else
   const unsigned int dim=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.