diff --git a/Code/Mantid/Framework/CurveFitting/src/LeBailFit2.cpp b/Code/Mantid/Framework/CurveFitting/src/LeBailFit2.cpp index e157514190ebe9ee4055ac88854296e6ae2c3c01..816fc24024bb40c1da0fda03e042451251419333 100644 --- a/Code/Mantid/Framework/CurveFitting/src/LeBailFit2.cpp +++ b/Code/Mantid/Framework/CurveFitting/src/LeBailFit2.cpp @@ -2830,6 +2830,8 @@ bool LeBailFit2::calculateDiffractionPatternMC(MatrixWorkspace_sptr dataws, size const MantidVec& domain, MantidVec& values, double &rwp, double& rp) { + UNUSED_ARG(domain); + // 1. Set the parameters // a) Set the parameters to all peaks setPeaksParameters(m_dspPeaks, funparammap, 1.0, true);