mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
removed unused variable warnings
This commit is contained in:
parent
4d2d825d5b
commit
5d962682e1
4 changed files with 13 additions and 9 deletions
|
@ -149,10 +149,10 @@ int p3BitDht::getNetFailedPeer(std::string peerId, PeerStatus &status)
|
|||
std::string p3BitDht::getUdpAddressString()
|
||||
{
|
||||
std::string out;
|
||||
|
||||
#ifdef RS_USE_DHT_STUNNER
|
||||
struct sockaddr_in extAddr;
|
||||
uint8_t extStable;
|
||||
#ifdef RS_USE_DHT_STUNNER
|
||||
|
||||
if (mDhtStunner->externalAddr(extAddr, extStable))
|
||||
{
|
||||
rs_sprintf_append(out, " DhtExtAddr: %s:%u", rs_inet_ntoa(extAddr.sin_addr).c_str(), ntohs(extAddr.sin_port));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue