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

jv_mem_calloc(): always call with (nmemb, size) #2978

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

emanuele6
Copy link
Member

It does not matter much since they most likely just get multiplied
together, but some compilers would complain about this if these were
calls to calloc.

It does not matter much since they most likely just get multiplied
together, but some compilers would complain about this if these were
calls to calloc.
@emanuele6 emanuele6 added the lint Code cleanup; style fixes; small refactors; dead code removal; etc. label Dec 11, 2023
@emanuele6 emanuele6 added this to the 1.8 release milestone Dec 11, 2023
@emanuele6 emanuele6 merged commit 527c5ab into jqlang:master Dec 11, 2023
28 checks passed
@emanuele6 emanuele6 deleted the callocr branch December 11, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lint Code cleanup; style fixes; small refactors; dead code removal; etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants