diff options
author | Holger Steinhaus <hsteinhaus@gmx.de> | 2015-11-12 08:56:47 +0100 |
---|---|---|
committer | Holger Steinhaus <hsteinhaus@gmx.de> | 2015-11-12 09:22:23 +0100 |
commit | c6f1ec91cbf6f608493bd61f1f508d9e045f9339 (patch) | |
tree | e7fade50de3da5082d5da8ff96da6be35efc6237 /mcast/common/recv_ccpp.c | |
parent | a40106d5c33463fb2071881db564a39f302f5163 (diff) | |
download | vdr-plugin-mcli-c6f1ec91cbf6f608493bd61f1f508d9e045f9339.tar.gz vdr-plugin-mcli-c6f1ec91cbf6f608493bd61f1f508d9e045f9339.tar.bz2 |
fixed more "uninitialized use" warnings
Diffstat (limited to 'mcast/common/recv_ccpp.c')
-rw-r--r-- | mcast/common/recv_ccpp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mcast/common/recv_ccpp.c b/mcast/common/recv_ccpp.c index ce15e4c..bc02917 100644 --- a/mcast/common/recv_ccpp.c +++ b/mcast/common/recv_ccpp.c @@ -469,8 +469,8 @@ void *recv_ten (void *arg) clock_t lastrecv=0; int donetimeout=0; - pthread_cleanup_push (clean_ccpp_thread, &c); memset (&c, 0, sizeof (ccpp_thread_context_t)); + pthread_cleanup_push (clean_ccpp_thread, &c); c.buf=(xmlChar *)malloc(XML_BUFLEN); if (!c.buf) { @@ -599,8 +599,8 @@ void *recv_tra (void *arg) unsigned int dstlen; struct in6_addr tra; - pthread_cleanup_push (clean_ccpp_thread, &c); memset (&c, 0, sizeof (ccpp_thread_context_t)); + pthread_cleanup_push (clean_ccpp_thread, &c); c.buf=(xmlChar *)malloc(XML_BUFLEN); if (!c.buf) { @@ -1278,6 +1278,7 @@ void *recv_tca (void *arg) netceiver_info_t nc_info; struct in6_addr tca; + memset (&c, 0, sizeof (ccpp_thread_context_t)); pthread_cleanup_push (clean_ccpp_thread, &c); c.buf=(xmlChar *)malloc(XML_BUFLEN); |