From: Jaroslav Kysela Date: Fri, 3 Oct 2014 15:14:33 +0000 (+0200) Subject: esfilter: remove dead code (coverity) X-Git-Tag: v4.1~1177 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=749ce2efece14184153b8ce3f58aa70feb8ef830;p=thirdparty%2Ftvheadend.git esfilter: remove dead code (coverity) --- diff --git a/src/esfilter.c b/src/esfilter.c index 2a5f1f55e..0f72938b3 100644 --- a/src/esfilter.c +++ b/src/esfilter.c @@ -471,7 +471,7 @@ esfilter_build_ca_enum(int provider) e = htsmsg_create_map(); snprintf(buf, sizeof(buf), provider ? "%06x" : "%04x", a[i]); if (!provider) - snprintf(buf2, sizeof(buf2), provider ? "%06x %s" : "%04x - %s", + snprintf(buf2, sizeof(buf2), "%04x - %s", a[i], descrambler_caid2name(a[i])); htsmsg_add_str(e, "key", buf); htsmsg_add_str(e, "val", provider ? buf : buf2);