Merge pull request #3580 from warwickmm/simplify_if_condition

Remove condition that is always true
This commit is contained in:
Hendrik
2019-01-03 22:34:36 +01:00
committed by GitHub
+1 -1
View File
@@ -76,7 +76,7 @@ namespace Duplicati.CommandLine.RecoveryTool
bool result;
Library.Utility.IFilter evfilter;
bool match = filter.Matches(f.Path, out result, out evfilter);
if (!match || (match && result))
if (!match || result)
yield return f;
}
}