Skip to content

Commit 55eb8ea

Browse files
authored
Merge pull request #2072 from felixfontein/dead-code
Remove dead code
2 parents f0b5db6 + 915ed0e commit 55eb8ea

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

stores/yaml/store.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,6 @@ func (store *Store) LoadEncryptedFile(in []byte) (sops.Tree, error) {
273273
if err != nil {
274274
return sops.Tree{}, err
275275
}
276-
var data yaml.Node
277-
if err := yaml.Unmarshal(in, &data); err != nil {
278-
return sops.Tree{}, fmt.Errorf("Error unmarshaling input YAML: %s", err)
279-
}
280276
var branches sops.TreeBranches
281277
d := yaml.NewDecoder(bytes.NewReader(in))
282278
for {

0 commit comments

Comments
 (0)