]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning. 5365/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 31 Oct 2017 14:40:29 +0000 (15:40 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 31 Oct 2017 14:40:29 +0000 (15:40 +0100)
include/deal.II/numerics/data_out_dof_data.templates.h

index 0777a9c96ff8cf3239a7e42f45eab5d54f45ea73..37b44a5463a4d4150f6cc8c531acc393e4359eb9 100644 (file)
@@ -322,6 +322,7 @@ namespace internal
     double get_component (const NumberType         value,
                           const ComponentExtractor extract_component)
     {
+      (void)extract_component;
       static_assert (numbers::NumberTraits<NumberType>::is_complex == false,
                      "This function must not be called for complex-valued data types.");
       Assert (extract_component == ComponentExtractor::real_part,

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.