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 call to sprintf() to avoid warnings #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

merces
Copy link
Member

@merces merces commented Sep 18, 2024

@jonjoliver can you review it please?

Although sprintf() is considered insecure, in this case it's harmless as the string copied to nullstr is fixed. However, because this function is deprecated, the compiler emits a warning. This patch removes the function call as it's not really needed in this case.

@merces merces added this to the 4.12.0 milestone Sep 18, 2024
@jonjoliver jonjoliver mentioned this pull request Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants