jq_util_input_init: Zero memory using calloc
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Calloc will zero the allocated memory which makes one memset and a number of explicit zero assignments redundant.
authored by Mattias Hansson · committed by Nico Williams · parent 4f58a59 · Browse files · 1 file+1 added−10 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−10 removed
- other:+1 added−10 removed