Skip to content

Commit

Permalink
Bug 1762102: Remove some unused code that was causing compile warning…
Browse files Browse the repository at this point in the history
…s. r=mjf

Differential Revision: https://phabricator.services.mozilla.com/D142458
  • Loading branch information
docfaraday committed Mar 30, 2022
1 parent 94446b9 commit 406a3c9
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,6 @@ int nr_ice_media_stream_unfreeze_pairs_foundation(nr_ice_media_stream *stream, c
{
int r,_status;
nr_ice_media_stream *str;
nr_ice_component *comp;
int invalid_comps=0;

/* 1. Unfreeze all frozen pairs with the same foundation
in this stream */
Expand All @@ -544,16 +542,6 @@ int nr_ice_media_stream_unfreeze_pairs_foundation(nr_ice_media_stream *stream, c
ABORT(r);
}

/* 2. See if there is a pair in the valid list for every component */
comp=STAILQ_FIRST(&stream->components);
while(comp){
if(!comp->valid_pairs)
invalid_comps++;

comp=STAILQ_NEXT(comp,entry);
}

/* If there is a pair in the valid list for every component... */
/* Now go through the check lists for the other streams */
str=STAILQ_FIRST(&stream->pctx->peer_streams);
while(str){
Expand Down

0 comments on commit 406a3c9

Please sign in to comment.