Skip to content

Commit

Permalink
Fix warnings about unused variables.
Browse files Browse the repository at this point in the history
Refs #12656
  • Loading branch information
martyngigg committed Jun 15, 2015
1 parent a623c53 commit b96b52d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/API/src/ExperimentInfo.cpp
Expand Up @@ -970,14 +970,15 @@ void ExperimentInfo::loadInstrumentInfoNexus(const std::string& nxFilename,
file->readData("data", instrumentXml);
file->closeGroup();
} catch (NeXus::Exception &ex) {
g_log.debug("Failed to load instrument XML from file.");
g_log.debug(std::string("Unable to load instrument_xml: ") + ex.what());
}

try {
file->openGroup("instrument_parameter_map", "NXnote");
file->readData("data", parameterStr);
file->closeGroup();
} catch (NeXus::Exception &ex) {
g_log.debug(std::string("Unable to load instrument_parameter_map: ") + ex.what());
g_log.information("Parameter map entry missing from NeXus file. Continuing without it.");
}
// Close the instrument group
Expand Down

0 comments on commit b96b52d

Please sign in to comment.