From: wolf Date: Thu, 29 Sep 2005 19:23:42 +0000 (+0000) Subject: Avoid a warning about an unused function argument. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9ce558e2d907ca25a5f09252ee74543429fbd88;p=dealii-svn.git Avoid a warning about an unused function argument. git-svn-id: https://svn.dealii.org/trunk@11558 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/grid_in.cc b/deal.II/deal.II/source/grid/grid_in.cc index 7bc64f851d..65f2b93e2c 100644 --- a/deal.II/deal.II/source/grid/grid_in.cc +++ b/deal.II/deal.II/source/grid/grid_in.cc @@ -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;