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

[ncp] use SendCommand with no va_args requirement to avoid compilation issues #2443

Merged

Conversation

suveshpratapa
Copy link
Member

Fix an issue in ncp_spinel.cpp related to a dummy va_list variable being uninitialized.

Copy link

codecov bot commented Aug 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 45.37%. Comparing base (2b41187) to head (398f806).
Report is 769 commits behind head on main.

Files Patch % Lines
src/ncp/ncp_spinel.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2443       +/-   ##
===========================================
- Coverage   55.77%   45.37%   -10.40%     
===========================================
  Files          87       99       +12     
  Lines        6890    11334     +4444     
  Branches        0      816      +816     
===========================================
+ Hits         3843     5143     +1300     
- Misses       3047     5936     +2889     
- Partials        0      255      +255     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@suveshpratapa suveshpratapa force-pushed the bugfix/openthread/ncp_spinel_vargs_issue branch from 4627e3c to 81da3c2 Compare August 21, 2024 17:48
src/ncp/ncp_spinel.cpp Outdated Show resolved Hide resolved
…ent to avoid compilation issues

Avoids an issue in `ncp_spinel.cpp` related to a dummy va_list variable being uninitialized.
@suveshpratapa suveshpratapa force-pushed the bugfix/openthread/ncp_spinel_vargs_issue branch from 81da3c2 to d91f437 Compare August 21, 2024 17:57
@suveshpratapa suveshpratapa changed the title [ncp] fix a compilation issue in ncp_spinel.cpp [ncp] use newly added version of SendCommand with no va_args requirement to avoid compilation issues Aug 21, 2024
Copy link
Member

@abtink abtink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks.

@suveshpratapa suveshpratapa changed the title [ncp] use newly added version of SendCommand with no va_args requirement to avoid compilation issues [ncp] use SendCommand with no va_args requirement to avoid compilation issues Aug 21, 2024
@suveshpratapa
Copy link
Member Author

@jwhui Just wanted to bring this to your attention... should be ready to merge.

@jwhui jwhui merged commit 3d663e1 into openthread:main Aug 22, 2024
32 checks passed
@suveshpratapa suveshpratapa deleted the bugfix/openthread/ncp_spinel_vargs_issue branch August 27, 2024 14:59
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.

3 participants