diff options
-rw-r--r-- | mcast/client/mmi_handler.c | 2 | ||||
-rw-r--r-- | mcast/common/mld_client.c | 5 | ||||
-rw-r--r-- | mcli.c | 4 |
3 files changed, 4 insertions, 7 deletions
diff --git a/mcast/client/mmi_handler.c b/mcast/client/mmi_handler.c index 716c7f1..3787892 100644 --- a/mcast/client/mmi_handler.c +++ b/mcast/client/mmi_handler.c @@ -219,6 +219,8 @@ int mmi_get_data (xmlChar * xmlbuff, int buffersize, mmi_info_t * mmi_info) xmlKeepBlanksDefault (0); //reomve this f. "text" nodes c.doc = xmlParseMemory ((char *) xmlbuff, buffersize); + c.str = NULL; + c.key = NULL; root_element = xmlDocGetRootElement (c.doc); pthread_cleanup_push (clean_xml_parser_thread, &c); diff --git a/mcast/common/mld_client.c b/mcast/common/mld_client.c index d291466..7369174 100644 --- a/mcast/common/mld_client.c +++ b/mcast/common/mld_client.c @@ -31,9 +31,6 @@ int send_mldv2_report (struct intnode *intn, int grec_number, struct in6_addr *m int mca_index, src_index; int count = 0; - bool any = false; - - //printf("creating multicast listener report packet....\n"); //printf("size src = %d size grec = %d \n",sizeof(*src),sizeof(*grec)); if (intn->mtu < sizeof (*packet)) { @@ -156,8 +153,6 @@ int send_mldv2_report (struct intnode *intn, int grec_number, struct in6_addr *m } /* Nothing added yet */ - any = false; - for (src_index = 0; src_index < srcn || (!srcn && src_index == 0); src_index++) { //check for duplicate source reocrds and any address @@ -742,8 +742,8 @@ void cPluginMcli::Action (void) if (netCVChanged) { for(int j = 0; j < nci->cam_num; j++) { - const char *camstate; - const char *cammode; + const char *camstate = ""; + const char *cammode = ""; switch(nci->cam[j].status) { case DVBCA_CAMSTATE_MISSING: |