1
0
Fork 0

Revert "Remove superfluous NULL assignment"

This reverts commit b0ef65fc03.
It's been nicer to read before, and static analysis can ignore this one.
This commit is contained in:
Moritz Grimm 2020-01-28 00:18:10 +01:00
parent 47735661f4
commit 9e3c59887b
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ mdata_run_program(struct mdata *md, const char *program)
return (-1);
}
album = title = songinfo = NULL;
artist = album = title = songinfo = NULL;
if (NULL == (artist = _mdata_run(program, MDATA_ARTIST)) ||
NULL == (album = _mdata_run(program, MDATA_ALBUM)) ||
NULL == (title = _mdata_run(program, MDATA_TITLE)) ||