support: res might be used uninitialized

This commit is contained in:
Wim Taymans 2021-09-29 17:08:46 +02:00
parent 184e80d753
commit 013567524a

View file

@ -59,7 +59,7 @@ int
support_log_parse_patterns(struct spa_list *patterns, const char *jsonstr)
{
struct spa_json iter, array, elem;
int res;
int res = 0;
spa_json_init(&iter, jsonstr, strlen(jsonstr));