Fix Cppcheck warning

This commit is contained in:
Daniel Marjamäki 2017-03-26 11:40:53 +02:00
parent 6874f27e73
commit 62d4077dd0
1 changed files with 2 additions and 2 deletions

View File

@ -48,9 +48,9 @@ static std::string trim(const std::string& s)
Directive::Directive(const std::string &_file, const int _linenr, const std::string &_str):
file(_file),
linenr(_linenr)
linenr(_linenr),
str(trim(_str))
{
str = trim(_str);
}
bool Preprocessor::missingIncludeFlag;