diff --git a/NPLib/Physics/NPBeam.cxx b/NPLib/Physics/NPBeam.cxx
index dc09f66d129a55cbadd5bd6cba6ba02af18aaee9..ac387d8f64884633d3143fc98b742697f639d1b6 100644
--- a/NPLib/Physics/NPBeam.cxx
+++ b/NPLib/Physics/NPBeam.cxx
@@ -110,7 +110,6 @@ void Beam::ReadConfigurationFile(string Path){
   bool check_AllEnergy = false;
   bool check_AllEmittance = false;
   
-  ifstream ReactionFile;
   string GlobalPath = getenv("NPTOOL");
   string StandardPath = GlobalPath + "/Inputs/EventGenerator/" + Path;
   ReactionFile.open(StandardPath.c_str());