Skip to content

Commit ce6cc54

Browse files
committed
uninitvar: made ValueFlow check experimental
1 parent df19d2b commit ce6cc54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/checkuninitvar.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,10 @@ void CheckUninitVar::uninitStructMemberError(const Token *tok, const std::string
12001200

12011201
void CheckUninitVar::valueFlowUninit()
12021202
{
1203+
// FIXME: #8036, #8041
1204+
if (!_settings->experimental)
1205+
return;
1206+
12031207
const SymbolDatabase *symbolDatabase = _tokenizer->getSymbolDatabase();
12041208
std::list<Scope>::const_iterator scope;
12051209

0 commit comments

Comments
 (0)