From 6018fc651c1430d26b4a0a21de964d215e9ff81b Mon Sep 17 00:00:00 2001
From: Luca Heltai <luca.heltai@sissa.it>
Date: Mon, 25 Nov 2019 11:12:34 +0100
Subject: [PATCH] Removed unused variable.

---
 source/particles/particle_handler.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc
index da549ee6de..2603e395a7 100644
--- a/source/particles/particle_handler.cc
+++ b/source/particles/particle_handler.cc
@@ -477,9 +477,6 @@ namespace Particles
                                              0u);
       }
 
-    const auto n_global_particles =
-      std::accumulate(n_particles_per_proc.begin(), n_particles_per_proc.end());
-
     auto distributed_tuple =
       GridTools::distributed_compute_point_locations(cache,
                                                      positions,
-- 
2.39.5