introduce struct writer and struct writer_node
[paraslash.git] / ortp_send.c
index aabbb7da09abf953457dfb4915f593eb0f0a6612..19b54d3932897be20067c6b06b608653fafbf911 100644 (file)
@@ -54,7 +54,6 @@ struct ortp_target {
        RtpSession *session;
 };
 
-static int numtargets;
 static struct list_head targets;
 static struct sender *self;
 
@@ -66,7 +65,6 @@ static void ortp_delete_target(struct ortp_target *ot, const char *msg)
                rtp_session_destroy(ot->session);
                ot->session = NULL;
        }
-       numtargets--;
        list_del(&ot->node);
        free(ot);
 }