Skip to content

Commit

Permalink
Refs #7732 Fixed Ubuntu compiler warning
Browse files Browse the repository at this point in the history
Removed a set but unread varable and a redundant else if clause that was causing an ubuntu compiler warning.
  • Loading branch information
keithnbrown committed Nov 21, 2013
1 parent 62865f1 commit 65930d7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Code/Mantid/Framework/DataHandling/src/LoadAscii2.cpp
Expand Up @@ -251,7 +251,6 @@ namespace Mantid
void LoadAscii2::setcolumns(std::ifstream & file, std::string & line, std::list<std::string> & columns)
{
size_t lineno = 0;
size_t lastSpecID = 0;
std::vector<double> values;
//first find the first data set and set that as the template for the number of data collumns we expect from this file
while( getline(file,line) && m_baseCols == 0)
Expand Down Expand Up @@ -284,10 +283,6 @@ namespace Mantid
//a size of 1 is most likely a spectra ID so ignore it, a value of 2, 3 or 4 is a valid data set
m_baseCols = cols;
}
else if (cols == 1)
{
lastSpecID = lineno;
}
}
}
}
Expand Down

0 comments on commit 65930d7

Please sign in to comment.