Preprocessor: Removed redundant initialization

This commit is contained in:
Daniel Marjamäki 2017-03-26 11:10:48 +02:00
parent 1feada4c21
commit 4a1c04cb33
1 changed files with 2 additions and 3 deletions

View File

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