From 971717dbb25e54a84a79b9b8d39dbe2e87db2f32 Mon Sep 17 00:00:00 2001 From: John Hill <john.r.hill@stfc.ac.uk> Date: Thu, 23 Oct 2014 11:53:56 +0100 Subject: [PATCH] Refs #10397 squashing cppcheck warning --- Code/Mantid/Framework/DataHandling/src/Load.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Mantid/Framework/DataHandling/src/Load.cpp b/Code/Mantid/Framework/DataHandling/src/Load.cpp index 9bb5bf5f648..e9702b44c91 100644 --- a/Code/Mantid/Framework/DataHandling/src/Load.cpp +++ b/Code/Mantid/Framework/DataHandling/src/Load.cpp @@ -171,7 +171,7 @@ namespace Mantid std::string name = loader->name(); int version = loader->version(); - std::string ext = fileNames[0].substr(fileNames[0].find_last_of(".")); + //std::string ext = fileNames[0].substr(fileNames[0].find_last_of(".")); auto ifl = boost::dynamic_pointer_cast<IFileLoader<Kernel::FileDescriptor>>(loader); auto iflNexus = boost::dynamic_pointer_cast<IFileLoader<Kernel::NexusDescriptor>>(loader); -- GitLab