Initialise jq_state->debug_cb{,_data} to NULL
Before adoption: this commit came in with the history the project adopted, so no landing records it.
To make debug/0 not call an uninitialised function pointer when using --run-tests or when using a jq_state on which jq_set_debug_cb() has not been called.
authored by Emanuele Torre · committed by Nico Williams · parent 9e4c715 · Browse files · 2 files+8 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+8 added−1 removed
- tests:+5 added−1 removed
- other:+3 added−0 removed