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

Fixes for sm.c #695

Merged
merged 5 commits into from
Sep 2, 2024
Merged

Fixes for sm.c #695

merged 5 commits into from
Sep 2, 2024

Conversation

cole-miller
Copy link
Contributor

Small fixes and one addition for sm.c, pulled from #678 to make review easier.

Signed-off-by: Cole Miller cole.miller@canonical.com

Signed-off-by: Cole Miller <cole.miller@canonical.com>
Signed-off-by: Cole Miller <cole.miller@canonical.com>
Signed-off-by: Cole Miller <cole.miller@canonical.com>
Signed-off-by: Cole Miller <cole.miller@canonical.com>
This fires on all our invocations of vsnprintf, but only with clang (gcc
makes an exception for variadic functions presumably for just this
reason). I think the value of this lint for us is not worth its price in
\#pragma verbosity.

Signed-off-by: Cole Miller <cole.miller@canonical.com>
Copy link

codecov bot commented Sep 2, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 8 lines in your changes missing coverage. Please review.

Project coverage is 77.88%. Comparing base (e6ac700) to head (c65caf8).
Report is 76 commits behind head on master.

Files with missing lines Patch % Lines
src/lib/sm.c 33.33% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #695      +/-   ##
==========================================
+ Coverage   77.87%   77.88%   +0.01%     
==========================================
  Files         197      197              
  Lines       27779    28020     +241     
  Branches     5538     5536       -2     
==========================================
+ Hits        21633    21824     +191     
+ Misses       4420     4337      -83     
- Partials     1726     1859     +133     

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

Copy link
Contributor

@just-now just-now left a comment

Choose a reason for hiding this comment

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

Looks good.

@cole-miller cole-miller merged commit e8e28b0 into canonical:master Sep 2, 2024
17 of 18 checks passed
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