-
Notifications
You must be signed in to change notification settings - Fork 124
add error handling to ConnectedPhysicalDeviceManager::RefreshConnectedSDLGamepads
#973
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy found issue(s) with the introduced code (1/1)
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
|
Urg, that's what I get for trying to fix formatting on my phone. Lol. |
1bc6ac8 to
039d543
Compare
No Clang-Tidy warnings found so I assume my comments were addressed
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
00000000000000000000000000000000 should be displayed if the GUID is invalid as well.
This likely happens due to an invalid index, so the device is most likely invalid anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy found issue(s) with the introduced code (1/1)
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
src/ship/controller/physicaldevice/ConnectedPhysicalDeviceManager.cpp
Outdated
Show resolved
Hide resolved
Sometimes I wish, I never fixed this thing :D Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
No Clang-Tidy warnings found so I assume my comments were addressed
ConnectedPhysicalDeviceManager::RefreshConnectedSDLGamepads
SDL_GameControllerNamereturnsNULL#976LUS bump PRs for ports: