Disable redundant if expression check due to false positives

This commit is contained in:
Hackerpilot 2015-02-21 22:52:50 -08:00
parent dbea951e5d
commit 4849326745
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 67fd41840fd30dc9e14aa3c886fddd0b9e54ce6e
Subproject commit 92ec34acd8112fee93248bb26130554699efd019

View File

@ -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)
{