From 89272d999442cd5006b9a54872aa7e52eaf43a94 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Tue, 17 Nov 2020 16:40:45 +0100
Subject: [PATCH] tauRecTools: Fix clang warning.

Unused variable.
---
 Reconstruction/tauRecTools/src/TauShotFinder.cxx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Reconstruction/tauRecTools/src/TauShotFinder.cxx b/Reconstruction/tauRecTools/src/TauShotFinder.cxx
index b47604d2e3e..dfecc9ee7e9 100644
--- a/Reconstruction/tauRecTools/src/TauShotFinder.cxx
+++ b/Reconstruction/tauRecTools/src/TauShotFinder.cxx
@@ -125,7 +125,6 @@ StatusCode TauShotFinder::executeShotFinder(xAOD::TauJet& tau, xAOD::CaloCluster
     tau.addShotPFOLink(PFOElementLink);
     
     // Remove used cells from list
-    std::vector<const CaloCell*>::iterator cellItrNonConst;
     auto cellIndex = std::find(seedCells.begin(), seedCells.end(), cell);
     seedCells.erase(cellIndex);
     if (phiNeigCell) {
-- 
GitLab