From: Jaroslav Kysela Date: Sun, 3 Dec 2017 09:07:37 +0000 (+0100) Subject: channel icons: fix the compilation issue X-Git-Tag: v4.2.5~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d783d95ad1777381bf5b737ad2ca7ed1f2f2ec2b;p=thirdparty%2Ftvheadend.git channel icons: fix the compilation issue --- diff --git a/src/channels.c b/src/channels.c index 17a89ce31..d16898b8c 100644 --- a/src/channels.c +++ b/src/channels.c @@ -855,8 +855,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);