Bug 1120065 - removed dead function nr_ice_candidate_destroy_cb. r=bwc

This commit is contained in:
Nils Ohlmeier [:drno] 2015-01-23 13:47:00 +01:00
Родитель deffdd554c
Коммит ba151bbff5
2 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -292,12 +292,6 @@ int nr_ice_candidate_destroy(nr_ice_candidate **candp)
return(0);
}
void nr_ice_candidate_destroy_cb(NR_SOCKET s, int h, void *cb_arg)
{
nr_ice_candidate *cand=cb_arg;
nr_ice_candidate_destroy(&cand);
}
/* This algorithm is not super-fast, but I don't think we need a hash
table just yet and it produces a small foundation string */
static int nr_ice_get_foundation(nr_ice_ctx *ctx,nr_ice_candidate *cand)

Просмотреть файл

@ -104,7 +104,6 @@ int nr_ice_candidate_initialize(nr_ice_candidate *cand, NR_async_cb ready_cb, vo
void nr_ice_candidate_compute_codeword(nr_ice_candidate *cand);
int nr_ice_candidate_process_stun(nr_ice_candidate *cand, UCHAR *msg, int len, nr_transport_addr *faddr);
int nr_ice_candidate_destroy(nr_ice_candidate **candp);
void nr_ice_candidate_destroy_cb(NR_SOCKET s, int h, void *cb_arg);
int nr_ice_format_candidate_attribute(nr_ice_candidate *cand, char *attr, int maxlen);
int nr_ice_peer_candidate_from_attribute(nr_ice_ctx *ctx,char *attr,nr_ice_media_stream *stream,nr_ice_candidate **candp);
int nr_ice_peer_peer_rflx_candidate_create(nr_ice_ctx *ctx,char *label, nr_ice_component *comp,nr_transport_addr *addr, nr_ice_candidate **candp);