From 8342d9df65ecbd9b456494c02dd0494b5f9ebb9e Mon Sep 17 00:00:00 2001
From: Owen Arnold <owen.arnold@stfc.ac.uk>
Date: Wed, 10 Oct 2012 09:30:21 +0100
Subject: [PATCH] refs #5923. Fix warning.

---
 Code/Mantid/Framework/Kernel/src/ConfigService.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Code/Mantid/Framework/Kernel/src/ConfigService.cpp b/Code/Mantid/Framework/Kernel/src/ConfigService.cpp
index 3182ffe948f..a2f7912a4f7 100644
--- a/Code/Mantid/Framework/Kernel/src/ConfigService.cpp
+++ b/Code/Mantid/Framework/Kernel/src/ConfigService.cpp
@@ -1692,7 +1692,6 @@ const std::string extractVersionNumberFromPipe(const Poco::Pipe& pipe)
   const std::string givenVersion = stringStream.str();
   boost::smatch  match;
   boost::regex expression("(\\d+)\\.(\\d+)$"); // Gets the version number part.
-  double givenVersionNumber;
   if(boost::regex_search(givenVersion, match, expression))
   {
     versionString = match[0];
-- 
GitLab