From: Daniel Garcia-Sanchez Date: Sat, 2 Feb 2019 13:26:44 +0000 (+0100) Subject: Remove unused variable warning X-Git-Tag: v9.1.0-rc1~379^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7675%2Fhead;p=dealii.git Remove unused variable warning --- diff --git a/source/grid/grid_in.cc b/source/grid/grid_in.cc index aaa1b79d94..ad18740f28 100644 --- a/source/grid/grid_in.cc +++ b/source/grid/grid_in.cc @@ -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(id) != - numbers::internal_face_boundary_id, - ExcIO()); + { + Assert(0 <= id && static_cast(id) != + numbers::internal_face_boundary_id, + ExcIO()); + (void)id; + } // finally we setup the boundary // information