From cfe8da7f805e4f2eee25870b9fdca6f4f80fc014 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Wed, 13 Sep 2017 04:51:46 +0200
Subject: [PATCH] TrkTrackSummaryTool: Fix compilation warnings.

Compilation warnings: unused variables.
---
 Tracking/TrkTools/TrkTrackSummaryTool/src/TrackSummaryTool.cxx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Tracking/TrkTools/TrkTrackSummaryTool/src/TrackSummaryTool.cxx b/Tracking/TrkTools/TrkTrackSummaryTool/src/TrackSummaryTool.cxx
index 4bb93624861..a20cc21e427 100755
--- a/Tracking/TrkTools/TrkTrackSummaryTool/src/TrackSummaryTool.cxx
+++ b/Tracking/TrkTools/TrkTrackSummaryTool/src/TrackSummaryTool.cxx
@@ -301,7 +301,6 @@ Trk::TrackSummaryTool::createSummary( const Track& track,
 
   if (!m_trt_dEdxTool.empty()) {
     if (information[Trk::numberOfTRTHits]+information[Trk::numberOfTRTOutliers]>=m_minTRThitsForTRTdEdx) {
-      ITRT_ToT_dEdx::EGasType gasType;
       int nhits = static_cast<int>( m_trt_dEdxTool->usedHits(&track, m_TRTdEdx_DivideByL, m_TRTdEdx_useHThits) );
       double fvalue = (nhits>0 ? m_trt_dEdxTool->dEdx(&track, m_TRTdEdx_DivideByL, m_TRTdEdx_useHThits, m_TRTdEdx_corrected) : 0.0);
       eProbability.push_back(fvalue);
@@ -383,7 +382,6 @@ void Trk::TrackSummaryTool::updateAdditionalInfo(Track& track) const
  
   if (!m_trt_dEdxTool.empty()) {
     if (tSummary->get(Trk::numberOfTRTHits)+tSummary->get(Trk::numberOfTRTOutliers)>=m_minTRThitsForTRTdEdx) {
-      ITRT_ToT_dEdx::EGasType gasType;
       int nhits = static_cast<int>( m_trt_dEdxTool->usedHits(&track, m_TRTdEdx_DivideByL, m_TRTdEdx_useHThits) );
       double fvalue = (nhits>0 ? m_trt_dEdxTool->dEdx(&track, m_TRTdEdx_DivideByL, m_TRTdEdx_useHThits, m_TRTdEdx_corrected) : 0.0);
       eProbability.push_back(fvalue);
-- 
GitLab