From 0ce15a6541acf435e3396c90b96837d57fb2e709 Mon Sep 17 00:00:00 2001
From: scott snyder <scott.snyder@cern.ch>
Date: Fri, 29 Jun 2018 10:33:21 +0200
Subject: [PATCH] FPTracker: Fix clang warnings.

clang warnings: unused private data members.
---
 ForwardDetectors/FPTracker/src/Beamline.cxx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ForwardDetectors/FPTracker/src/Beamline.cxx b/ForwardDetectors/FPTracker/src/Beamline.cxx
index 12ffc35774c..c45784b267a 100644
--- a/ForwardDetectors/FPTracker/src/Beamline.cxx
+++ b/ForwardDetectors/FPTracker/src/Beamline.cxx
@@ -73,7 +73,7 @@ namespace FPTracker{
 
   class ParticleTracker{
   public:
-    ParticleTracker(IParticle& particle):m_particle(particle), m_element(0){
+    ParticleTracker(IParticle& particle):m_particle(particle) {
     }
     bool  operator()(const IBeamElement::ConstPtr_t& be){
 
@@ -89,7 +89,6 @@ namespace FPTracker{
     }
   private:
     IParticle& m_particle;
-    int       m_element;
 
   };
     
@@ -111,7 +110,7 @@ namespace FPTracker{
 
   class Calibrator{
   public:
-    Calibrator(IParticle& particle):m_particle(particle), m_element(0)
+    Calibrator(IParticle& particle):m_particle(particle)
     {
     }
     
@@ -122,7 +121,6 @@ namespace FPTracker{
     }
   private:
     IParticle& m_particle;
-    int       m_element;
 
   };
 
-- 
GitLab