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

Fix a couple of minor issues which prevent compiling. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cjdelisle
Copy link

  1. upgrade sys to fix:
    ../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190904154756-749cb33beabd/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
  2. remove unused var preventing compile
  3. style: remove redundant break statements (switches in go don't default fallthrough)

3 was not an error, but go-staticcheck was complaining.

../../go/pkg/mod/golang.org/x/sys@v0.0.0-20190904154756-749cb33beabd/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
2. remove unused var preventing compile
3. style: remove redundant break statements (switches in go don't default fallthrough)
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.

1 participant