Skip to content

Commit

Permalink
Refs #5092. Fix warning. Remove useless comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Whitley committed Apr 12, 2012
1 parent 144ca24 commit 50d7959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidQt/CustomInterfaces/src/MuonAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ void MuonAnalysis::changeCurrentRun(std::string & workspaceGroupName)
if (instname == "ARGUS")
zeroPadding = 7;

for (size_t i=runNumber.size(); i<zeroPadding; ++i)
for (int i=runNumber.size(); i<zeroPadding; ++i)
{
runNumber = '0' + runNumber;
}
Expand Down Expand Up @@ -3111,7 +3111,7 @@ void MuonAnalysis::changeRun(int amountToChange)
{
QString filePath("");
QString currentFile = m_uiForm.mwRunFiles->getFirstFilename();
if ( (currentFile.isEmpty() ) )//|| (currentFile == "CURRENT RUN") )
if ( (currentFile.isEmpty() ) )
currentFile = m_previousFilenames[0];

QString run("");
Expand Down

0 comments on commit 50d7959

Please sign in to comment.