Initialise error_arg to NULL in criteria_parse

This commit is contained in:
Ryan Dwyer 2018-05-13 11:40:05 +10:00
parent 39007fc30f
commit 490f92255c

View file

@ -420,6 +420,7 @@ static void unescape(char *value) {
* populated with an error string. It is up to the caller to free the error.
*/
struct criteria *criteria_parse(char *raw, char **error_arg) {
*error_arg = NULL;
error = NULL;
char *head = raw;