]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
CID: 1294524 variables not used in the function
authorWilliam King <william.king@quentustech.com>
Thu, 16 Apr 2015 16:52:19 +0000 (09:52 -0700)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:21 +0000 (12:47 -0500)
src/switch_vidderbuffer.c

index 55517515a39792e381bd6d79cf105e476d8bbcef..887822909864cd5bbca6dc701c96d9477f7979ea 100644 (file)
@@ -314,10 +314,7 @@ static inline switch_vb_node_t *vb_find_lowest_seq(switch_vb_t *vb)
 
 static inline switch_status_t vb_next_packet(switch_vb_t *vb, switch_vb_node_t **nodep)
 {
-       switch_vb_node_t *np = NULL, *node = NULL;
-       switch_status_t status;
-
-       if (np) status = 0, status++;
+       switch_vb_node_t *node = NULL;
 
        if (!vb->target_seq) {
                if ((node = vb_find_lowest_seq(vb))) {