]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use the standard (void) to mark unused parameters.
authorDavid Wells <drwells@vt.edu>
Sat, 4 Apr 2015 15:52:33 +0000 (11:52 -0400)
committerMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>
Tue, 14 Apr 2015 10:50:18 +0000 (12:50 +0200)
source/grid/grid_in.cc

index 6530f82fa1fc437e582e40f26096aadd5ac70ed7..21abd586622c0f0df7a15105c75aa8bae3fe34de 100644 (file)
@@ -1468,9 +1468,7 @@ template <>
 void GridIn<2>::read_netcdf (const std::string &filename)
 {
 #ifndef DEAL_II_WITH_NETCDF
-  // do something with unused
-  // filename
-  filename.c_str();
+  (void)filename;
   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.