ortp_send: Kill an unused variable
authorAndre <maan@p133.(none)>
Sat, 25 Mar 2006 20:33:20 +0000 (21:33 +0100)
committerAndre <maan@p133.(none)>
Sat, 25 Mar 2006 20:33:20 +0000 (21:33 +0100)
ortp_send.c

index aabbb7d..19b54d3 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);
 }