]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix unused variable warning 3525/head
authorDenis Davydov <davydden@gmail.com>
Fri, 11 Nov 2016 12:05:09 +0000 (13:05 +0100)
committerDenis Davydov <davydden@gmail.com>
Fri, 11 Nov 2016 12:05:09 +0000 (13:05 +0100)
include/deal.II/lac/precondition.h

index 544eceb6497bc8c028a35947da591adcc85c5667..6af9b36195b8c31bc1a7f29604a2de6637ab4ec8 100644 (file)
@@ -1963,7 +1963,6 @@ namespace internal
       // that is cheap to compute (cheaper than random numbers) but avoids
       // obviously re-occurring numbers in multi-component systems by choosing
       // a period of 11
-      const unsigned int size = vector.local_size();
       for (unsigned int i=0; i<vector.local_size(); ++i)
         vector.local_element(i) = i%11;
     }

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.