1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

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

View File

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