diff --git a/Framework/Crystal/src/SetSpecialCoordinates.cpp b/Framework/Crystal/src/SetSpecialCoordinates.cpp
index 17969673f43f5de8232d4aae0a005b167861f096..492e5840cb752bdfaa8a8f22491f577611482007 100644
--- a/Framework/Crystal/src/SetSpecialCoordinates.cpp
+++ b/Framework/Crystal/src/SetSpecialCoordinates.cpp
@@ -90,7 +90,7 @@ void SetSpecialCoordinates::init() {
 }
 
 bool SetSpecialCoordinates::writeCoordinatesToMDEventWorkspace(
-    Workspace_sptr inWS, SpecialCoordinateSystem coordinateSystem) {
+    Workspace_sptr inWS, SpecialCoordinateSystem) {
   bool written = false;
   if (auto mdEventWS = boost::dynamic_pointer_cast<IMDEventWorkspace>(inWS)) {
     g_log.warning("SetSpecialCoordinates: This algorithm cannot set the "
@@ -102,7 +102,7 @@ bool SetSpecialCoordinates::writeCoordinatesToMDEventWorkspace(
 }
 
 bool SetSpecialCoordinates::writeCoordinatesToMDHistoWorkspace(
-    Workspace_sptr inWS, SpecialCoordinateSystem coordinateSystem) {
+    Workspace_sptr inWS, SpecialCoordinateSystem) {
   bool written = false;
   if (auto mdHistoWS = boost::dynamic_pointer_cast<IMDHistoWorkspace>(inWS)) {
     g_log.warning("SetSpecialCoordinates: This algorithm cannot set the "
diff --git a/Framework/Geometry/src/MDGeometry/UnknownFrame.cpp b/Framework/Geometry/src/MDGeometry/UnknownFrame.cpp
index 20baef37de6149de5b884e2a4756f5be87a5531c..435f7edf7cdc3eceb78f54fe83714f081e9c2052 100644
--- a/Framework/Geometry/src/MDGeometry/UnknownFrame.cpp
+++ b/Framework/Geometry/src/MDGeometry/UnknownFrame.cpp
@@ -13,7 +13,7 @@ UnknownFrame::~UnknownFrame() {}
 
 const std::string UnknownFrame::UnknownFrameName = "Unknown frame";
 
-bool UnknownFrame::canConvertTo(const Mantid::Kernel::MDUnit &otherUnit) const {
+bool UnknownFrame::canConvertTo(const Mantid::Kernel::MDUnit&) const {
   return false; // Cannot convert since it is unknown
 }
 
diff --git a/Framework/MDAlgorithms/test/IntegratePeaksMDTest.h b/Framework/MDAlgorithms/test/IntegratePeaksMDTest.h
index 8dae71650dc6f0f77c555ca9d15a08f319a679d9..63ffbc0e15ce6739fc43dd03786743c4a67eb54e 100644
--- a/Framework/MDAlgorithms/test/IntegratePeaksMDTest.h
+++ b/Framework/MDAlgorithms/test/IntegratePeaksMDTest.h
@@ -132,9 +132,9 @@ public:
     MDEventWorkspace3Lean::sptr mdews =
         AnalysisDataService::Instance().retrieveWS<MDEventWorkspace3Lean>(
             "IntegratePeaksMDTest_MDEWS");
-    mdews->setCoordinateSystem(Mantid::Kernel::HKL);
     auto &frame = mdews->getDimension(0)->getMDFrame();
-
+    TSM_ASSERT_THROWS_NOTHING(
+        "Should be HKL", dynamic_cast<const Mantid::Geometry::HKL &>(frame));
     TS_ASSERT_EQUALS(mdews->getNPoints(), 3000);
     TS_ASSERT_DELTA(mdews->getBox()->getSignal(), 3000.0, 1e-2);