diff --git a/libretroshare/src/ft/ftserver.cc b/libretroshare/src/ft/ftserver.cc index e8875b80f..3be0f5af5 100644 --- a/libretroshare/src/ft/ftserver.cc +++ b/libretroshare/src/ft/ftserver.cc @@ -311,6 +311,7 @@ bool ftServer::getQueuePriority(const std::string hash, int & priority) } bool ftServer::clearDownload(const std::string hash) { + return true ; } void ftServer::clearQueue() diff --git a/libretroshare/src/pqi/pqiperson.cc b/libretroshare/src/pqi/pqiperson.cc index 78c97b15c..188bbf0d6 100644 --- a/libretroshare/src/pqi/pqiperson.cc +++ b/libretroshare/src/pqi/pqiperson.cc @@ -105,6 +105,8 @@ int pqiperson::receiveHeartbeat() { pqioutput(PQL_DEBUG_ALERT, pqipersonzone, "pqiperson::receiveHeartbeat() from peer : " + PeerId()); lastHeartbeatReceived = time(NULL); + + return true ; } // tick...... diff --git a/libretroshare/src/pqi/pqipersongrp.cc b/libretroshare/src/pqi/pqipersongrp.cc index cb9ddf599..969e554d3 100644 --- a/libretroshare/src/pqi/pqipersongrp.cc +++ b/libretroshare/src/pqi/pqipersongrp.cc @@ -486,7 +486,8 @@ int pqipersongrp::connectPeer(std::string id) bool pqipersongrp::notifyConnect(std::string id, uint32_t ptype, bool success) { struct sockaddr_in remote_peer_address; sockaddr_clear(&remote_peer_address); - notifyConnect(id, ptype, success, remote_peer_address); + + return notifyConnect(id, ptype, success, remote_peer_address); } bool pqipersongrp::notifyConnect(std::string id, uint32_t ptype, bool success, struct sockaddr_in remote_peer_address) diff --git a/libretroshare/src/tcponudp/udplayer.cc b/libretroshare/src/tcponudp/udplayer.cc index e795a9d7b..ee36db8ed 100644 --- a/libretroshare/src/tcponudp/udplayer.cc +++ b/libretroshare/src/tcponudp/udplayer.cc @@ -213,6 +213,8 @@ int UdpLayer::reset(struct sockaddr_in &local) std::cerr << "UdpLayer::reset() opening socket" << std::endl; openSocket(); + + return 1 ; } diff --git a/libretroshare/src/upnp/UPnPBase.cpp b/libretroshare/src/upnp/UPnPBase.cpp index ee30c4ea0..76b3c2016 100644 --- a/libretroshare/src/upnp/UPnPBase.cpp +++ b/libretroshare/src/upnp/UPnPBase.cpp @@ -1739,7 +1739,7 @@ void CUPnPControlPoint::Subscribe(CUPnPService &service) return; error: - 1+1; + ; #ifdef UPNP_DEBUG std::cerr << std::endl; #endif