We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As noted in PR #85: On current master branch staticcheck fails:
staticcheck
$ staticcheck ./... internal/wglinux/configure_linux_test.go:126:14: netlink.Nested | 0 always equals netlink.Nested (SA4016) internal/wglinux/configure_linux_test.go:355:12: netlink.Nested | 0 always equals netlink.Nested (SA4016) internal/wglinux/configure_linux_test.go:379:12: netlink.Nested | 0 always equals netlink.Nested (SA4016) internal/wglinux/configure_linux_test.go:405:12: netlink.Nested | 0 always equals netlink.Nested (SA4016) internal/wglinux/configure_linux_test.go:430:12: netlink.Nested | 0 always equals netlink.Nested (SA4016) internal/wglinux/configure_linux_test.go:454:12: netlink.Nested | 0 always equals netlink.Nested (SA4016) internal/wglinux/configure_linux_test.go:479:12: netlink.Nested | 0 always equals netlink.Nested (SA4016) internal/wglinux/configure_linux_test.go:504:12: netlink.Nested | 0 always equals netlink.Nested (SA4016)
$ staticcheck -version staticcheck 2020.1.3
The solution seems simple, remove the bit-wise OR 0. I will work on a PR today fixing this.
The text was updated successfully, but these errors were encountered:
Fix staticcheck warnings on bitwise OR 0
8737bc6
Closes WireGuard#86
Successfully merging a pull request may close this issue.
As noted in PR #85: On current master branch
staticcheck
fails:The solution seems simple, remove the bit-wise OR 0. I will work on a PR today fixing this.
The text was updated successfully, but these errors were encountered: