Shut up clang analyzer warning

This commit is contained in:
Thomas Goyne 2013-09-16 08:40:27 -07:00
parent e72e183f27
commit 98048c135a

View file

@ -75,7 +75,7 @@ TimecodeRange v1_parse_line(std::string const& str) {
std::istringstream ss(str); std::istringstream ss(str);
TimecodeRange range; TimecodeRange range;
char comma1, comma2; char comma1 = 0, comma2 = 0;
ss >> range.start >> comma1 >> range.end >> comma2 >> range.fps; ss >> range.start >> comma1 >> range.end >> comma2 >> range.fps;
if (ss.fail() || comma1 != ',' || comma2 != ',' || !ss.eof()) if (ss.fail() || comma1 != ',' || comma2 != ',' || !ss.eof())
throw MalformedLine(str); throw MalformedLine(str);