forked from TrueCloudLab/restic
Index: Remove unneeded allocation
This commit is contained in:
parent
36276c41b2
commit
73ad3d418d
1 changed files with 0 additions and 3 deletions
|
@ -62,9 +62,6 @@ func New(repo restic.Repository, p *restic.Progress) (*Index, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
p := Pack{ID: packID, Entries: j.Entries(), Size: j.Size()}
|
||||
idx.Packs[packID] = p
|
||||
}
|
||||
|
||||
return idx, nil
|
||||
|
|
Loading…
Reference in a new issue