Commit 9e3c5988 authored by Moritz Grimm's avatar Moritz Grimm
Browse files

Revert "Remove superfluous NULL assignment"

This reverts commit b0ef65fc.
It's been nicer to read before, and static analysis can ignore this one.
parent 47735661
...@@ -366,7 +366,7 @@ mdata_run_program(struct mdata *md, const char *program) ...@@ -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)) ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment