From a5e1a72930e4b8f7b791125dbb1ea35f9a480092 Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Sat, 2 Feb 2019 14:26:44 +0100 Subject: [PATCH] Remove unused variable warning --- source/grid/grid_in.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.39.5