]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a warning about an unused function argument.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 29 Sep 2005 19:23:42 +0000 (19:23 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 29 Sep 2005 19:23:42 +0000 (19:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@11558 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 7bc64f851d16660d7bcb42dc1c2581fc69fab1e8..65f2b93e2cf824a640c9bc5cc949344124830808 100644 (file)
@@ -1014,6 +1014,10 @@ template <>
 void GridIn<3>::read_netcdf (const std::string &filename)
 {
 #ifndef DEAL_II_HAVE_NETCDF
+                                   // do something with the function argument
+                                   // to make sure it at least looks used,
+                                   // even if it is not
+  (void)filename;
   AssertThrow(false, ExcNeedsNetCDF());
 #else
   const unsigned int dim=3;

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.