uninitvar: made ValueFlow check experimental

This commit is contained in:
Daniel Marjamäki 2017-05-01 11:13:30 +02:00
parent df19d2ba5b
commit ce6cc5416a
1 changed files with 4 additions and 0 deletions

View File

@ -1200,6 +1200,10 @@ void CheckUninitVar::uninitStructMemberError(const Token *tok, const std::string
void CheckUninitVar::valueFlowUninit()
{
// FIXME: #8036, #8041
if (!_settings->experimental)
return;
const SymbolDatabase *symbolDatabase = _tokenizer->getSymbolDatabase();
std::list<Scope>::const_iterator scope;