Collapse a few boolean operations

This commit is contained in:
Michael Eischer
2020-03-06 23:35:09 +01:00
parent 49b6aac3fa
commit 460e2ffbf6
3 changed files with 4 additions and 14 deletions

View File

@@ -84,7 +84,7 @@ func walk(ctx context.Context, repo restic.TreeLoader, prefix string, parentTree
return false, err
}
if ignore == false {
if !ignore {
allNodesIgnored = false
}