]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
removed unused variable in match_tree_recursively
authordaniel.arndt <daniel.arndt@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Sep 2013 18:26:02 +0000 (18:26 +0000)
committerdaniel.arndt <daniel.arndt@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Sep 2013 18:26:02 +0000 (18:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@30634 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/distributed/tria.cc

index 5f253bf44934eb40aef99cf4df34ad76a7012432..fc902abfa1f5b689748b3eabb4442c8e5f0ea8cd 100644 (file)
@@ -1173,12 +1173,11 @@ namespace
                           const typename internal::p4est::types<dim>::forest   &forest,
                           const types::subdomain_id                           my_subdomain)
   {
-    ssize_t sidx;
     // check if this cell exists in
     // the local p4est cell
-    if ((sidx = sc_array_bsearch(const_cast<sc_array_t *>(&tree.quadrants),
+    if (sc_array_bsearch(const_cast<sc_array_t *>(&tree.quadrants),
                          &p4est_cell,
-                         internal::p4est::functions<dim>::quadrant_compare))
+                         internal::p4est::functions<dim>::quadrant_compare)
         != -1)
       {
         // yes, cell found in local part of p4est

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.