1
0
mirror of https://github.com/restic/restic.git synced 2025-04-02 02:42:13 +00:00

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

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