]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fixed two mistakes detected by clang
authorJaroslav Kysela <perex@perex.cz>
Tue, 8 Mar 2016 14:45:35 +0000 (15:45 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 8 Mar 2016 14:45:35 +0000 (15:45 +0100)
src/channels.c
src/input/mpegts/satip/satip.c

index 84661b3c53ad02ebcca33d404e0382e2692a0864..6365c353cb0f3fb81ec077580d05f0582b25e761 100644 (file)
@@ -381,8 +381,7 @@ const idclass_t channel_class = {
                      "Always use the name defined by the network."),
       .off      = offsetof(channel_t, ch_autoname),
       .set      = channel_class_autoname_set,
-      .opts     = PO_ADVANCED,
-      .opts     = PO_NOSAVE,
+      .opts     = PO_ADVANCED | PO_NOSAVE,
     },
     {
       .type     = PT_STR,
index f5dbea3431a53d68b3a72b5d5210483da58b7c37..667925486405e93cf3fb8db670336f70e3a73b9d 100644 (file)
@@ -393,7 +393,7 @@ const idclass_t satip_device_class =
       .type     = PT_STR,
       .id       = "manufacturer",
       .name     = N_("Manufacturer"),
-      .name     = N_("The manufacturer of the SAT>IP server."),
+      .desc     = N_("The manufacturer of the SAT>IP server."),
       .opts     = PO_RDONLY | PO_NOSAVE,
       .off      = offsetof(satip_device_t, sd_info.manufacturer),
     },