8000 linux/att: fix duplicated switch case error by quasilyte · Pull Request #39 · go-ble/ble · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

linux/att: fix duplicated switch case error #39

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

Merged
merged 1 commit into from
May 19, 2021
Merged

linux/att: fix duplicated switch case error #39

merged 1 commit into from
May 19, 2021

Conversation

quasilyte
Copy link

The rsp[0] == ErrorResponseCode && len(rsp) == 5 case was duplicated.
Surrounding code uses rsp[0] == ErrorResponseCode && len(rsp) != 5 (note "not equal")
for the second case, so probably this is probably what we want there as well.

The `rsp[0] == ErrorResponseCode && len(rsp) == 5` case was duplicated.
Surrounding code uses `rsp[0] == ErrorResponseCode && len(rsp) != 5` (note "not equal")
for the second case, so probably this is probably what we want there as well.
@quasilyte quasilyte changed the title linux/add: fix duplicated switch case error linux/att: fix duplicated switch case error Dec 11, 2018
@estutzenberger estutzenberger merged commit b055c21 into go-ble:master May 19, 2021
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.

2 participants
0