Disable redundant if expression check due to false positives
This commit is contained in:
parent
dbea951e5d
commit
4849326745
|
@ -1 +1 @@
|
|||
Subproject commit 67fd41840fd30dc9e14aa3c886fddd0b9e54ce6e
|
||||
Subproject commit 92ec34acd8112fee93248bb26130554699efd019
|
|
@ -188,7 +188,7 @@ MessageSet analyze(string fileName, const Module m,
|
|||
if (analysisConfig.comma_expression_check) checks ~= new CommaExpressionCheck(fileName);
|
||||
if (analysisConfig.local_import_check) checks ~= new LocalImportCheck(fileName);
|
||||
if (analysisConfig.could_be_immutable_check) checks ~= new UnmodifiedFinder(fileName);
|
||||
if (analysisConfig.redundant_if_check) checks ~= new IfStatementCheck(fileName);
|
||||
version(none) if (analysisConfig.redundant_if_check) checks ~= new IfStatementCheck(fileName);
|
||||
|
||||
foreach (check; checks)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue