From 9e3c59887bff9816d4429fab5e3e8d87bb939b66 Mon Sep 17 00:00:00 2001 From: Moritz Grimm Date: Tue, 28 Jan 2020 00:18:10 +0100 Subject: [PATCH] Revert "Remove superfluous NULL assignment" This reverts commit b0ef65fc033002f050ab63d62dff74ab9765f30b. It's been nicer to read before, and static analysis can ignore this one. --- src/mdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdata.c b/src/mdata.c index 9ebb987..654d4c5 100644 --- a/src/mdata.c +++ b/src/mdata.c @@ -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)) ||