Skip to content

lib: address singleuse issues #17734

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

Closed
wants to merge 1 commit into from
Closed

lib: address singleuse issues #17734

wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Jun 24, 2025

  • markup some functions UNITTEST, so that they are static unless in a unit test build

  • make some functions #ifdef UNITTESTS as they are only used from unit tests

  • adjusted unit tests accordingly to use local prototypes for functions not global in the library

- markup some functions UNITTEST, so that they are static unless in a
  unit test build

- make some functions #ifdef UNITTESTS as they are only used from unit
  tests

- adjusted unit tests accordingly to use local prototypes for functions
  not global in the library
@github-actions github-actions bot added the tests label Jun 24, 2025
@bagder
Copy link
Member Author

bagder commented Jun 24, 2025

These were all found with singleuse in my local build. I don't know why the CI job does not.

@bagder bagder marked this pull request as ready for review June 25, 2025 09:45
@bagder bagder closed this in d22057d Jun 25, 2025
@bagder bagder deleted the bagder/singleuse-fixes branch June 25, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant