]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused variable warning 7675/head
authorDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Sat, 2 Feb 2019 13:26:44 +0000 (14:26 +0100)
committerDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Sat, 2 Feb 2019 13:26:44 +0000 (14:26 +0100)
source/grid/grid_in.cc

index aaa1b79d945cf18b96ce7e9c8fe6b76b6780c43c..ad18740f2849c4b2bc361fb3328239bdaf6c371b 100644 (file)
@@ -2436,9 +2436,12 @@ GridIn<3>::read_netcdf(const std::string &filename)
   // take numbers::internal_face_boundary_id
   // as it denotes an internal face
   for (const int id : bmarker)
-    Assert(0 <= id && static_cast<types::boundary_id>(id) !=
-                        numbers::internal_face_boundary_id,
-           ExcIO());
+    {
+      Assert(0 <= id && static_cast<types::boundary_id>(id) !=
+                          numbers::internal_face_boundary_id,
+             ExcIO());
+      (void)id;
+    }
 
   // finally we setup the boundary
   // information

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.