From 8a39fb834933255af9cf67aafa1950d9a937aeba Mon Sep 17 00:00:00 2001
From: Volker Springel <vspringel@mpa-garching.mpg.de>
Date: Mon, 2 Nov 2020 21:25:55 +0100
Subject: [PATCH] removed unused variable

---
 src/subfind/subfind_history.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/subfind/subfind_history.cc b/src/subfind/subfind_history.cc
index 571805d..d160580 100644
--- a/src/subfind/subfind_history.cc
+++ b/src/subfind/subfind_history.cc
@@ -289,8 +289,6 @@ void fof<partset>::subfind_hbt_single_group(domain<partset> *SubDomain, domain<p
       /* sort the candidates by size */
       mycxxsort(all_candidates, all_candidates + totcand, subfind_hbt_compare_subcand_len);
 
-      hbt_subcand_t maxlen_candidate = all_candidates[totcand - 1];
-
       /* sort the candidates by summed previous length, as this is arguably a more robust decision of which one should be the largest
        */
       mycxxsort(all_candidates, all_candidates + totcand, subfind_hbt_compare_subcand_summedprevlen);
-- 
GitLab