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 defects found by CodeQL #36

Merged
merged 4 commits into from
Jun 30, 2022
Merged

Fix defects found by CodeQL #36

merged 4 commits into from
Jun 30, 2022

Conversation

jibeee
Copy link
Contributor

@jibeee jibeee commented Jun 30, 2022

This PR fixes all the defects identified by CodeQL.

It doesn't add any feature. To fix #34 and #35, it was easier to remove support for hidraw (both hidapi and hidraw backends were supported for HID). This package was not updated for 12 years, there was actually no reason to keep compatibility with it.

@jibeee jibeee marked this pull request as ready for review June 30, 2022 13:02
@codecov-commenter
Copy link

Codecov Report

Merging #36 (3cb8d6e) into master (c7ca048) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #36   +/-   ##
=======================================
  Coverage   71.15%   71.15%           
=======================================
  Files           5        5           
  Lines         260      260           
=======================================
  Hits          185      185           
  Misses         75       75           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c7ca048...3cb8d6e. Read the comment docs.

@lpascal-ledger lpascal-ledger force-pushed the codeql-fixes branch 2 times, most recently from 623c8a7 to 1d47e4a Compare June 30, 2022 13:31
@sonarcloud
Copy link

sonarcloud bot commented Jun 30, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jibeee jibeee merged commit 30146e5 into master Jun 30, 2022
@jibeee jibeee deleted the codeql-fixes branch June 30, 2022 19:55
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.

Fix code scanning alert - Empty except
3 participants