]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
vet: eliminate unnecessary shadowing
authorJoseph Richey <joerichey94@gmail.com>
Mon, 12 Feb 2018 07:56:49 +0000 (23:56 -0800)
committerJoseph Richey <joerichey94@gmail.com>
Mon, 12 Feb 2018 07:56:49 +0000 (23:56 -0800)
commit69630f37fcebe894b15872148bd8b2496806b60c
tree1ae1ed02acba2c9beef4a81652d5594c67cf60e6
parent1f508cc30f3c1caadea5c648158880eacfe9b113
vet: eliminate unnecessary shadowing

Running "go vet -shadow ./..." finds all places where a variable might
be incorrectly or unnecessarily shadowed. This fixes some of them.
actions/protector.go
cmd/fscrypt/commands.go
crypto/key.go
metadata/policy.go
pam/pam.go
pam_fscrypt/run_fscrypt.go