Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1587905 - Remove useless variable 'r' declaration & assignation r…
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Oct 11, 2019
1 parent cd0d262 commit ae432bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions media/mtransport/nricectx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1043,10 +1043,9 @@ void NrIceCtx::GenerateObfuscatedAddress(nr_ice_candidate* candidate,
std::string* mdns_address,
std::string* actual_address) {
if (candidate->type == HOST && obfuscate_host_addresses_) {
int r;
char addr[64];
if ((r = nr_transport_addr_get_addrstring(&candidate->addr, addr,
sizeof(addr)))) {
if (nr_transport_addr_get_addrstring(&candidate->addr, addr,
sizeof(addr))) {
return;
}

Expand Down

0 comments on commit ae432bc

Please sign in to comment.