From 1d87f5a9ce3fc2f70cc62375005c122983748f75 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 2 Jan 2025 09:44:28 -0500 Subject: [PATCH] fix unused argument warning in TriaAccessor::line_index This is got reported in #17968 with gcc 9.4 even though we disable the warning in release mode. Maybe this is due to inlining. --- include/deal.II/grid/tria_accessor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/grid/tria_accessor.h b/include/deal.II/grid/tria_accessor.h index 5eb6e412b0..1de8682655 100644 --- a/include/deal.II/grid/tria_accessor.h +++ b/include/deal.II/grid/tria_accessor.h @@ -5395,6 +5395,7 @@ template inline unsigned int TriaAccessor::line_index(const unsigned int i) const { + (void)i; AssertIndexRange(i, this->n_lines()); Assert(structdim != 1, ExcMessage("You can't ask for the index of a line bounding a " -- 2.39.5