remove outputlist since its not moved and all subfunction check for (#1001)

nullptr
This commit is contained in:
BNT 2017-11-29 08:29:19 +01:00 committed by Daniel Marjamäki
parent 27151f5014
commit b913a04462
1 changed files with 1 additions and 3 deletions

View File

@ -566,9 +566,7 @@ void Preprocessor::loadFiles(const simplecpp::TokenList &rawtokens, std::vector<
{
const simplecpp::DUI dui = createDUI(_settings, emptyString, files[0]);
simplecpp::OutputList outputList;
tokenlists = simplecpp::load(rawtokens, files, dui, &outputList);
tokenlists = simplecpp::load(rawtokens, files, dui, nullptr);
}
void Preprocessor::removeComments()