esfilter: remove dead code (coverity)

This commit is contained in:
Jaroslav Kysela 2014-10-03 17:14:33 +02:00
parent 1cb1f674a0
commit 749ce2efec

View file

@ -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);