From 8b9a7709bb4d5d8157b4be4d3773aa56e537d656 Mon Sep 17 00:00:00 2001
From: nicolas <nicolas@nptool>
Date: Wed, 19 Dec 2012 22:46:51 +0000
Subject: [PATCH]  * remove compilation warnings in TW1Physics.cxx for some   
 variables initialised but not used

---
 NPLib/W1/TW1Physics.cxx | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/NPLib/W1/TW1Physics.cxx b/NPLib/W1/TW1Physics.cxx
index e71b1d66b..750b6eefc 100644
--- a/NPLib/W1/TW1Physics.cxx
+++ b/NPLib/W1/TW1Physics.cxx
@@ -545,6 +545,7 @@ void TW1Physics::BuildSimplePhysicalEvent()
                 m_PreTreatedData->GetW1FrontTDetectorNbr(couple[i].X()) == m_PreTreatedData->GetW1FrontTDetectorNbr(t))
                TimeFront = m_PreTreatedData->GetW1FrontTTime(t);
          }
+         TimeFront *= 1;
          // Back
          double TimeBack = -1000;
          for (unsigned int t = 0; t < m_PreTreatedData->GetW1BackTMult(); t++) {
@@ -707,8 +708,8 @@ void TW1Physics::InitializeStandardParameter()
 void TW1Physics::ReadAnalysisConfig()
 {
    bool ReadingStatus = false;
-   bool check_mult    = false;
-   bool check_match   = false;
+//   bool check_mult    = false;
+//   bool check_match   = false;
 
    cout << "\t/////////// Reading ConfigW1.dat file ///////////" << endl;
 
@@ -750,14 +751,14 @@ void TW1Physics::ReadAnalysisConfig()
          }
          
          else if (DataBuffer.compare(0, 22, "MAX_STRIP_MULTIPLICITY") == 0) {
-            check_mult = true;
+//            check_mult = true;
             AnalysisConfigFile >> DataBuffer;
             m_MaximumStripMultiplicityAllowed = atoi(DataBuffer.c_str() );
             cout << "\tMaximun strip multiplicity= " << m_MaximumStripMultiplicityAllowed << endl;
          }
 
          else if (DataBuffer.compare(0, 31, "STRIP_ENERGY_MATCHING_TOLERANCE") == 0) {
-            check_match = true;
+//            check_match = true;
             AnalysisConfigFile >> DataBuffer;
             m_StripEnergyMatchingTolerance = atoi(DataBuffer.c_str() );
             cout << "\tStrip energy matching tolerance= " << m_StripEnergyMatchingTolerance << endl;
-- 
GitLab