From: Jaroslav Kysela Date: Sun, 3 Dec 2017 09:07:37 +0000 (+0100) Subject: channel icons: fix the compilation issue X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7af86b410ce845543b2224cedeb90ec84cee3326;p=thirdparty%2Ftvheadend.git channel icons: fix the compilation issue --- diff --git a/src/channels.c b/src/channels.c index b9d8b08da..41115ee6c 100644 --- a/src/channels.c +++ b/src/channels.c @@ -964,8 +964,7 @@ channel_get_icon ( channel_t *ch ) } } } else if ((send = strstr(chi, "%U"))) { - if (sname == NULL) - sname = strdup(chname); + sname = strdup(chname); if (config.chicon_scheme == CHICON_LOWERCASE) { utf8_lowercase_inplace((char *)sname);