From: Wolfgang Bangerth Date: Tue, 23 May 2017 21:33:42 +0000 (-0600) Subject: Avoid warnings about unused variables. X-Git-Tag: v9.0.0-rc1~1578^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcd415b3f6c4f4b9aa53b82998bf9ad0849f7187;p=dealii.git Avoid warnings about unused variables. --- diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index b9616c22de..1a1b174988 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -4523,9 +4523,7 @@ next_cell: // Trick compiler for dimension independent things const unsigned int v0 = 0, v1 = 1, - v2 = (dim > 1 ? 2:0), v3 = (dim > 1 ? 3:0), - v4 = (dim > 2 ? 4:0), v5 = (dim > 2 ? 5:0), - v6 = (dim > 2 ? 6:0), v7 = (dim > 2 ? 7:0); + v2 = (dim > 1 ? 2:0), v3 = (dim > 1 ? 3:0); for (auto cell : tria.active_cell_iterators()) {