]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
added some (void)i to avoid warnings in optimized mode to tria_accessor.templates.h
authorkoecher <koecher@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 May 2013 12:52:52 +0000 (12:52 +0000)
committerkoecher <koecher@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 May 2013 12:52:52 +0000 (12:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@29565 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/tria_accessor.templates.h

index 5379e3a5af5ffe0f18f2777210bfca1941f30bf5..00b9d1215c1fa61ae552765592886751db66988d 100644 (file)
@@ -2197,6 +2197,7 @@ unsigned int
 TriaAccessor<0, 1, spacedim>::vertex_index (const unsigned int i) const
 {
   Assert(i==0, ExcIndexRange(i, 0, 1));
+  (void)i;
   return global_vertex_index;
 }
 
@@ -2208,6 +2209,7 @@ Point<spacedim> &
 TriaAccessor<0, 1, spacedim>::vertex (const unsigned int i) const
 {
   Assert(i==0, ExcIndexRange(i, 0, 1));
+  (void)i;
   return const_cast<Point<spacedim> &> (this->tria->vertices[global_vertex_index]);
 }
 

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.