]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Avoid unnecessary assignment
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 27 Jun 2010 21:22:49 +0000 (21:22 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 27 Jun 2010 21:22:49 +0000 (21:22 +0000)
src/cwc.c

index b5dbaece56a641cfe4cdf68289e220b7ec9099ca..cd2bdd953e1bbcbd8d11fbee811938b60039ac65 100644 (file)
--- a/src/cwc.c
+++ b/src/cwc.c
@@ -1387,14 +1387,13 @@ cwc_transport_start(th_transport_t *t)
   cwc_t *cwc;
   cwc_transport_t *ct;
   th_descrambler_t *td;
-  th_stream_t *st;
 
   lock_assert(&global_lock);
   TAILQ_FOREACH(cwc, &cwcs, cwc_link) {
     if(cwc->cwc_caid == 0)
       continue;
 
-    if((st = cwc_find_stream_by_caid(t, cwc->cwc_caid)) == NULL)
+    if(cwc_find_stream_by_caid(t, cwc->cwc_caid) == NULL)
       continue;
 
     ct = calloc(1, sizeof(cwc_transport_t));