Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes and cleanup #87

Merged
merged 2 commits into from
Feb 12, 2018
Merged

Minor fixes and cleanup #87

merged 2 commits into from
Feb 12, 2018

Conversation

josephlr
Copy link
Member

Fixes an issue where if fscrypt was built with go build github.com/google/fscrypt/cmd/fscrypt, the Compiled: line in fscrypt --version would still appear (as the zero value for a date is still a valid date).

This also uses go vet -shadow ./... to find cases where we are using shadowing incorrectly. It still gives some false positives, but it did find a few problems.

Running "go vet -shadow ./..." finds all places where a variable might
be incorrectly or unnecessarily shadowed. This fixes some of them.
@josephlr josephlr merged commit 57c6468 into master Feb 12, 2018
@josephlr josephlr deleted the cleanup branch February 12, 2018 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant