diff --git a/Calo/CaloTools/src/GammaPi0XGBoostTool.cpp b/Calo/CaloTools/src/GammaPi0XGBoostTool.cpp
index df69a202ff9339eabc0aea4a25756b6364fcc4c7..5fcc2bb7c99688aec02b5227f853e3f709a631e8 100644
--- a/Calo/CaloTools/src/GammaPi0XGBoostTool.cpp
+++ b/Calo/CaloTools/src/GammaPi0XGBoostTool.cpp
@@ -147,9 +147,6 @@ StatusCode GammaPi0XGBoostTool::initialize() {
   /// Retrieve geometry of detector
   m_ecal = getDetIfExists<DeCalorimeter>( DeCalorimeterLocation::Ecal );
 
-  // TMVA discriminant
-  std::string cur_path(getenv("PWD"));
-
   // Get path to a root directory with models   
   const std::string paramEnv = "PARAMFILESROOT";   
   std::string paramRoot = std::string(getenv(paramEnv.c_str()));