]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Calm down a warning.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Aug 2002 09:29:57 +0000 (09:29 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Aug 2002 09:29:57 +0000 (09:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@6331 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/polynomial.cc

index 28050a6720778d5c48d3ee61a5cdb0f5d9d6b53a..bb1c2d00d9eabb5e6054209cc535e0bf515107eb 100644 (file)
@@ -142,6 +142,10 @@ Polynomial<number>::shift(std::vector<number>& coefficients,
                          "about the bug and when it occurs in the aclocal.m4 file in the "
                          "top level directory (watch for the string "
                          "DEAL_II_LONG_DOUBLE_LOOP_BUG)"));
+                                  // calm down warning for unused
+                                  // args. note that this code is
+                                  // actually unreachable
+  coefficients[0] = offset;
 #else  
                                   // Copy coefficients to a vector of
                                   // accuracy given by the argument

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.