Fixed #2138 (Add support for comments in suppression file)
This commit is contained in:
parent
a38b14d582
commit
59139b17cb
|
@ -64,6 +64,10 @@ std::string Settings::Suppressions::parseFile(std::istream &istr)
|
|||
if (line.empty())
|
||||
continue;
|
||||
|
||||
// Skip comments
|
||||
if (line.length() >= 2 && line[0] == '/' && line[1] == '/')
|
||||
continue;
|
||||
|
||||
std::istringstream lineStream(line);
|
||||
std::string id;
|
||||
std::string file;
|
||||
|
|
Loading…
Reference in New Issue