Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(small fix) Use memcpy instead of copying bytes manually #549
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
base: master
Are you sure you want to change the base?
(small fix) Use memcpy instead of copying bytes manually #549
Changes from all commits
bc1632dFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 252 in src/classic/hfp_hf.c
Make the type of this parameter a pointer-to-const. The current type of "hfp_connection" is "struct hfp_connection *".
Check warning on line 317 in src/classic/hfp_hf.c
Value stored to 'offset' is never read
Check warning on line 326 in src/classic/hfp_hf.c
Value stored to 'offset' is never read
Check warning on line 335 in src/classic/hfp_hf.c
Value stored to 'offset' is never read
Check failure on line 552 in src/classic/hfp_hf.c
Refactor this function to reduce its Cognitive Complexity from 35 to the 25 allowed.
Check failure on line 578 in src/classic/hfp_hf.c
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check failure on line 754 in src/classic/hfp_hf.c
Access to field 'local_role' results in a dereference of a null pointer (loaded from variable 'hfp_connection')
Check failure on line 1049 in src/classic/hfp_hf.c
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check failure on line 1138 in src/classic/hfp_hf.c
Refactor this function to reduce its Cognitive Complexity from 30 to the 25 allowed.
Check failure on line 1273 in src/classic/hfp_hf.c
Refactor this function to reduce its Cognitive Complexity from 28 to the 25 allowed.
Check failure on line 1282 in src/classic/hfp_hf.c
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check failure on line 1296 in src/classic/hfp_hf.c
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 1382 in src/classic/hfp_hf.c
Replace this "switch" statement by "if" statements to increase readability.
Check warning on line 1456 in src/classic/hfp_hf.c
Declare the variable "pos" inside the loop.
Check failure on line 1559 in src/classic/hfp_hf.c
Memory copy function overflows the destination buffer
Check warning on line 1571 in src/classic/hfp_hf.c
Declare the variable "i" inside the loop.
Check warning on line 1953 in src/classic/hfp_hf.c
Make the type of this parameter a pointer-to-const. The current type of "hfp_connection" is "struct hfp_connection *".