Remove redudnant error check, handled above.

This commit is contained in:
Martin Smith 2025-03-23 10:05:13 +00:00
parent 6e45c51509
commit a389977bd7

View File

@ -695,10 +695,6 @@ func (arch *Archiver) saveTree(ctx context.Context, snPath string, atree *tree,
return futureNode{}, 0, err
}
if err != nil {
return futureNode{}, 0, err
}
if !excluded {
nodes = append(nodes, fn)
}