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

remove unused strhelper functions #486

Merged
merged 3 commits into from
Feb 16, 2025
Merged

Conversation

BlinkDynamo
Copy link
Contributor

@BlinkDynamo BlinkDynamo commented Feb 15, 2025

Regarding issue #446.

Removed strhelper function definitions from C files include/private/strhelper.h and src/strhelper.c, as well as from the header manifest tools/check_headers/stumpless.yml. Built successfully.

Copy link

codecov bot commented Feb 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.63%. Comparing base (56cd486) to head (8d1b02a).
Report is 1 commits behind head on latest.

Additional details and impacted files
@@            Coverage Diff             @@
##           latest     #486      +/-   ##
==========================================
+ Coverage   90.43%   90.63%   +0.20%     
==========================================
  Files          47       47              
  Lines        4443     4433      -10     
  Branches      594      592       -2     
==========================================
  Hits         4018     4018              
+ Misses        282      272      -10     
  Partials      143      143              

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

@goatshriek goatshriek self-assigned this Feb 15, 2025
@goatshriek goatshriek added the refactor changes that require refactoring of existing code label Feb 15, 2025
@goatshriek
Copy link
Owner

goatshriek commented Feb 15, 2025

It looks like you've found that ctype.h is still needed to get tolower even though the header check tool didn't realize this. Please add a line to tools/check_headers/c_standard_library.yml for this to fix the unused header check when you add the include back.

…library.yml to reflect the tolower() dependency to 'ctype.h'
@goatshriek goatshriek merged commit 955aba3 into goatshriek:latest Feb 16, 2025
56 checks passed
@goatshriek
Copy link
Owner

Thanks very much for putting this together!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor changes that require refactoring of existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants