Skip to content

Commit

Permalink
Refs #7732 fixing another compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
keithnbrown committed Nov 4, 2013
1 parent 674602f commit 6b0d3bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/Framework/DataHandling/src/LoadAscii2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@ namespace Mantid
const int rowsToMatch(5);
// Have a guess where the data starts. Basically say, when we have say "rowsToMatch" lines of pure numbers
// in a row then the line that started block is the top of the data
int numCols(-1), matchingRows(0), row(0);
int matchingRows = 0;
int row = 0;
size_t numCols = 0;
std::string line;
std::vector<double> values;
while( getline(file,line) )
Expand Down

0 comments on commit 6b0d3bc

Please sign in to comment.