]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused variables 7679/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 3 Feb 2019 13:04:33 +0000 (14:04 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 3 Feb 2019 13:04:33 +0000 (14:04 +0100)
source/matrix_free/task_info.cc

index 33bee62a3cc656f5019b702b613a61621b08b6ec..1fd323d2cfa62aefc707e5c0b34a0b184955fe23 100644 (file)
@@ -423,7 +423,6 @@ namespace internal
                   std::vector<color::PartitionWork *> blocked_worker(
                     n_blocked_workers);
                   unsigned int      worker_index = 0, slice_index = 0;
-                  unsigned int      spawn_index       = 0;
                   int               spawn_index_child = -2;
                   MPICommunication *worker_compr =
                     new (root->allocate_child()) MPICommunication(funct, true);
@@ -432,7 +431,6 @@ namespace internal
                        part < partition_row_index.size() - 1;
                        part++)
                     {
-                      const unsigned int spawn_index_new = worker_index;
                       if (part == 0)
                         worker[worker_index] =
                           new (worker_compr->allocate_child())
@@ -474,7 +472,6 @@ namespace internal
                                      ExcInternalError());
                               tbb::task::spawn(*worker[spawn_index_child]);
                             }
-                          spawn_index       = spawn_index_new;
                           spawn_index_child = -2;
                         }
                       else

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.