commit 3ced3663f2d766ff3f9178df0deb02abf6d0377c
parent ba4c72a61ba2633b753f8f78af40ae5fa9b8c594
Author: Michael Froman <mfroman@mozilla.com>
Date: Tue, 18 Nov 2025 22:29:12 +0000
Bug 2000353 - remove disabled code from ice_parser.c r=bwc,ng
Differential Revision: https://phabricator.services.mozilla.com/D272761
Diffstat:
1 file changed, 0 insertions(+), 16 deletions(-)
diff --git a/dom/media/webrtc/transport/third_party/nICEr/src/ice/ice_parser.c b/dom/media/webrtc/transport/third_party/nICEr/src/ice/ice_parser.c
@@ -337,13 +337,6 @@ nr_ice_peer_candidate_from_attribute(nr_ice_ctx *ctx,char *orig,nr_ice_media_str
ABORT(R_BAD_DATA);
}
/* Ignore extensions per RFC 5245 S 15.1 */
-#if 0
- /* This used to be an assert, but we don't want to exit on invalid
- remote data */
- if (strlen(str) != 0) {
- ABORT(R_BAD_DATA);
- }
-#endif
nr_ice_candidate_compute_codeword(cand);
@@ -476,15 +469,6 @@ nr_ice_peer_ctx_parse_global_attributes(nr_ice_peer_ctx *pctx, char **attrs, int
skip_to_past_space(&str);
-#if 0
- /* TODO: !nn! just drop on the floor for now, later put somewhere */
- /* Assume v4 for now */
- if(r=nr_ip4_port_to_transport_addr(ntohl(addr),port,IPPROTO_UDP,&candidate->base))
- ABORT(r);
-
- TAILQ_INSERT_TAIL(head, elm, field);
-#endif
-
component_id = 0; /* prevent free */
RFREE(connection_address);
connection_address = 0; /* prevent free */